Status bar / editing / saving file

This commit is contained in:
Arthur Barraux
2024-10-08 14:57:59 +02:00
parent 297eef4ce2
commit 1c22c3beca
15 changed files with 334 additions and 27 deletions
+2
View File
@@ -26,6 +26,8 @@ int main(int argc, char *argv[]) {
editorOpen(&E, argv[1]);
}
editorSetStatusMessage(&E, "HELP: Ctrl-Q = quit");
while (1) {
editorRefreshScreen(&E);
editorProcessKeypress(&E);