From f9b633917a8987ad476a80961134530061092eab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kotowski?= Date: Sun, 23 Mar 2025 21:46:24 +0100 Subject: [PATCH] Update kilo example to show correct shortcuts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change kilo's help message to show emacs-like keyboard shortcuts used in the current example version. Signed-off-by: MichaƂ Kotowski --- examples/kilo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/kilo.c b/examples/kilo.c index 513b3277e..2bc173b15 100644 --- a/examples/kilo.c +++ b/examples/kilo.c @@ -1439,7 +1439,7 @@ int main(int argc, char **argv) { editorSelectSyntaxHighlight(argv[1]); editorOpen(argv[1]); enableRawMode(STDIN_FILENO); - editorSetStatusMessage("HELP: Ctrl-S = save | Ctrl-Q = quit | Ctrl-F = find"); + editorSetStatusMessage("HELP: C-x C-s = save | C-q = quit | C-x C-c = force quit | C-s = find"); while (1) { editorRefreshScreen(); editorProcessKeypress(STDIN_FILENO);