about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-12-03 18:23:40 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-12-03 18:23:40 -0800
commita796070c9b0423e5324641afd40ec3ab2ba1aeb8 (patch)
tree3888db7004c81ec852c7ec194f72571b1b2589f5
parent31af4bd1fd42ecd54f2021cf8dbb639003aa150c (diff)
downloadteliva-a796070c9b0423e5324641afd40ec3ab2ba1aeb8.tar.gz
show ^h in a couple more menus
-rw-r--r--src/kilo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kilo.c b/src/kilo.c
index 4035f60..04c339e 100644
--- a/src/kilo.c
+++ b/src/kilo.c
@@ -689,6 +689,7 @@ static void editorFindMenu(void) {
     menu_column = 2;
     draw_menu_item("Esc", "cancel");
     draw_menu_item("Enter", "submit");
+    draw_menu_item("^h", "back up cursor");
     draw_menu_item("^u", "clear");
     /* draw_menu_item("←/↑", "previous"); */
     attroff(A_REVERSE);
@@ -714,6 +715,7 @@ static void editorGoMenu(void) {
     menu_column = 2;
     draw_menu_item("Esc", "cancel");
     draw_menu_item("Enter", "submit");
+    draw_menu_item("^h", "back up cursor");
     draw_menu_item("^u", "clear");
     attrset(A_NORMAL);
 }