summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
Diffstat (limited to 'ted.c')
-rw-r--r--ted.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ted.c b/ted.c
index ea28f13..f3cd7a3 100644
--- a/ted.c
+++ b/ted.c
@@ -42,6 +42,10 @@ TextBuffer *ted_get_active_buffer(Ted *ted) {
return ted->active_buffer;
}
+TextBuffer *ted_get_active_buffer_behind_menu(Ted *ted) {
+ return ted->prev_active_buffer;
+}
+
void ted_set_window_title(Ted *ted, const char *title) {
strbuf_cpy(ted->window_title, title);
}