commit 16a2d4f0fd14165dfcd85b3a468295194a7480e8 from: Stefan Sperling date: Mon Sep 19 17:43:39 2022 UTC make exiting tog's help screen easier for new users ok jamsek commit - 94274a8f75da950b87727bc93439723aac3ea64c commit + 16a2d4f0fd14165dfcd85b3a468295194a7480e8 blob - d0e2232056d2d697f05b40c9afc178d451401450 blob + 70ec4db0e43fda686036c567476aed95177aeddb --- tog/tog.c +++ tog/tog.c @@ -546,7 +546,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), \ @@ -8638,7 +8638,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)