port dmenu password patch

This commit is contained in:
sewn 2024-03-10 18:00:48 +03:00 committed by adnano
commit 9e9284666c
4 changed files with 37 additions and 6 deletions

2
menu.h
View file

@ -53,6 +53,8 @@ struct menu {
bool bottom;
// The function used to match menu items
int (*strncmp)(const char *, const char *, size_t);
// Whether the input is a password
bool passwd;
// The font used to display the menu
char *font;
// The number of lines to list items vertically