From 9eda570311ffd292d333f7687074403ff46cc838 Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Mon, 23 Jan 2023 21:56:39 +0100 Subject: Implement some more commands - More bug fixes for keys: You can now have mod-less keys in keymaps as binds. - Fix calculation bug with space fillouts. --- src/window.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/window.c (limited to 'src/window.c') 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); +} -- cgit v1.2.3