curses: Fix '?' to toggle quick help
Previously, pressing '?' only made the quick help appear but not disappear again. Reported-by: Bill [github id "broomdodger"] Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
parent
c06050d4ee
commit
afb5db14c8
@ -1112,7 +1112,7 @@ static int handle_input(int ch)
|
||||
|
||||
case '?':
|
||||
clear();
|
||||
print_help = 1;
|
||||
print_help = print_help ? 0 : 1;
|
||||
return 1;
|
||||
|
||||
case KEY_TOGGLE_GRAPH:
|
||||
|
Loading…
x
Reference in New Issue
Block a user