diff options
Diffstat (limited to 'ted.c')
-rw-r--r-- | ted.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -38,6 +38,14 @@ static void ted_vset_message(Ted *ted, MessageType type, const char *fmt, va_lis } } +TextBuffer *ted_get_active_buffer(Ted *ted) { + return ted->active_buffer; +} + +void ted_set_window_title(Ted *ted, const char *title) { + strbuf_cpy(ted->window_title, title); +} + bool ted_is_key_down(Ted *ted, SDL_Keycode key) { // not currently used but there might be a reason for it in the future (void)ted; |