summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
Diffstat (limited to 'ted.c')
-rw-r--r--ted.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ted.c b/ted.c
index 7c1743b..75713c6 100644
--- a/ted.c
+++ b/ted.c
@@ -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;