From 30abca4f301a3e851d020119f654586c56c70263 Mon Sep 17 00:00:00 2001 From: adnano Date: Sun, 5 May 2024 10:13:01 -0400 Subject: Don't ignore stdin in password mode This makes password mode work for wmenu and wmenu-run without special cases. --- menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'menu.c') diff --git a/menu.c b/menu.c index baa3061..f99bd54 100644 --- a/menu.c +++ b/menu.c @@ -85,7 +85,7 @@ static bool parse_color(const char *color, uint32_t *result) { // Parse menu options from command line arguments. void menu_getopts(struct menu *menu, int argc, char *argv[]) { const char *usage = - "Usage: wmenu [-biPvx] [-f font] [-l lines] [-o output] [-p prompt]\n" + "Usage: wmenu [-biPv] [-f font] [-l lines] [-o output] [-p prompt]\n" "\t[-N color] [-n color] [-M color] [-m color] [-S color] [-s color]\n"; int opt; -- cgit v1.2.3