commit 06ff88bb4fd24d28eac73efe33f3a92ad5369a5b from: Stefan Sperling via: Thomas Adam date: Mon Sep 19 17:52:09 2022 UTC make exiting tog's help screen easier for new users ok jamsek commit - a7dd23ad257cf5f2f45268ad73afb49be16ae110 commit + 06ff88bb4fd24d28eac73efe33f3a92ad5369a5b blob - 6c517a10082ad25aa1decab5081f8a1ec8006835 blob + 64dd639e6b072a77891d49455174be379b66f604 --- tog/tog.c +++ tog/tog.c @@ -551,7 +551,7 @@ struct tog_help_view_state { KEY_("/", "Open prompt to enter search term"), \ KEY_("n", "Find next line/token matching the current search term"), \ KEY_("N", "Find previous line/token matching the current search term"),\ - KEY_("q", "Quit the focussed view"), \ + KEY_("q", "Quit the focussed view; Quit help screen"), \ KEY_("Q", "Quit tog"), \ \ KEYMAP_("Log", TOG_KEYMAP_LOG), \ @@ -8643,7 +8643,8 @@ show_help_view(struct tog_view *view) view->gline = s->nlines - 1; err = win_draw_center(view->window, 0, 0, view->ncols, - view_needs_focus_indication(view), "tog help"); + view_needs_focus_indication(view), + "tog help (press q to return to tog)"); if (err) return err; if (eos <= 1)