From fe37b30e4a7321776621c91cacd3b58fb4247044 Mon Sep 17 00:00:00 2001 From: cflip Date: Thu, 19 Jan 2023 10:10:23 -0700 Subject: Show filename and current working directory in window title --- editor.c | 1 + 1 file changed, 1 insertion(+) (limited to 'editor.c') diff --git a/editor.c b/editor.c index f7fc684..b83ad26 100644 --- a/editor.c +++ b/editor.c @@ -28,6 +28,7 @@ void init_editor(struct editor_state* editor) editor->mode = EDITOR_MODE_NORMAL; editor_update_screen_size(editor); + window_set_filename("[New]"); } void editor_set_status_message(struct editor_state* editor, const char* format, ...) -- cgit v1.2.3