Skip to content

Commit 118e353

Browse files
authored
Allow ? to toggle help dialog (#200)
1 parent 98f95e8 commit 118e353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blink/blinkenlights.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3010,7 +3010,7 @@ static void OnMouse(const char *p) {
30103010
}
30113011

30123012
static void OnHelp(void) {
3013-
dialog = HELP;
3013+
dialog = dialog == HELP ? NULL : HELP;
30143014
}
30153015

30163016
static void HandleKeyboard(const char *k) {

0 commit comments

Comments
 (0)