summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 3718c41..2e6bdc4 100644
--- a/main.c
+++ b/main.c
@@ -16,7 +16,7 @@ int main(int argc, char** argv)
editor_set_status_message(&editor, "HELP: Ctrl+Q = quit, Ctrl+S = save, Ctrl+F = find");
- while (window_handle_event()) {
+ while (window_handle_event(&editor)) {
window_redraw(&editor);
// editor_refresh_screen(&editor);
// editor_process_keypress(&editor);