summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
new file mode 100644
index 0000000..5f1911a
--- /dev/null
+++ b/src/window.c
@@ -0,0 +1,9 @@
+#include "buffer.h"
+#include "display.h"
+
+void window_update_buffer(struct window *window, struct command_list *commands,
+ uint64_t frame_time, uint32_t *relline,
+ uint32_t *relcol) {
+ buffer_update(window->buffer, window->width, window->height, commands,
+ frame_time, relline, relcol);
+}