diff --git a/gtm b/gtm index 1ebe9b4..2331bb4 100755 --- a/gtm +++ b/gtm @@ -712,7 +712,7 @@ def draw_help_popup(stdscr, state): ("l / Right", "Focus right pane"), ("", ""), ("Features", ""), - ("/ (slash)", "Search in file"), + ("/", "Search in file"), ("n", "Next search match"), ("N", "Previous search match"), ("c", "Next change"), @@ -727,7 +727,7 @@ def draw_help_popup(stdscr, state): # Draw help content for i, (key, desc) in enumerate(help_items): y = popup_y + 2 + i - if y < popup_y + popup_height - 1: + if y < popup_y + popup_height - 2: if key == "Navigation" or key == "Features": # Section headers try: @@ -738,7 +738,7 @@ def draw_help_popup(stdscr, state): # Key and description try: stdscr.addstr(y, popup_x + 2, key, curses.A_BOLD) - stdscr.addstr(y, popup_x + 16, desc) + stdscr.addstr(y, popup_x + 22, desc) except curses.error: pass