This commit is contained in:
Michał Kotowski 2025-05-22 19:10:02 +02:00 committed by GitHub
commit 11a55c94aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);