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 --- window.h | 1 + 1 file changed, 1 insertion(+) (limited to 'window.h') diff --git a/window.h b/window.h index a414f6f..a5fa195 100644 --- a/window.h +++ b/window.h @@ -6,6 +6,7 @@ struct editor_state; void window_init(const char *title, int rows, int cols); int window_handle_event(struct editor_state *editor); void window_redraw(struct editor_state *editor); +void window_set_filename(const char *filename); void window_get_size(int *rows, int *cols); void window_destroy(); -- cgit v1.2.3