From e7f33de81e9528bdf8e3700ebd3cf7e8d776f2c6 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 11 Nov 2021 17:32:50 -0800 Subject: [PATCH] fix incorrect hotkey in menu --- src/kilo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kilo.c b/src/kilo.c index 0fdc899..dab7d96 100644 --- a/src/kilo.c +++ b/src/kilo.c @@ -942,8 +942,8 @@ void editorRefreshScreen(void) { } abAppend(&ab,"\x1b[0m ^g \x1b[7m go ",16); len += 4 + 4; - abAppend(&ab,"\x1b[0m ^s \x1b[7m search ",20); - len += 4 + 8; + abAppend(&ab,"\x1b[0m ^f \x1b[7m find ",18); + len += 4 + 6; char rstatus[80]; int rlen = snprintf(rstatus, sizeof(rstatus), "%d/%d",E.rowoff+E.cy+1,E.numrows);