summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-05 22:22:03 -0400
committerpommicket <pommicket@gmail.com>2023-08-05 22:22:03 -0400
commit61fcf4a14199486cc8bd7538ca236ac8fb93c0bb (patch)
tree882cc9871ea1068c265ccdc308f18e08199667dd /ted.c
parentbcb5589f17f755b965dec49af3232a5a69a8e68f (diff)
remove next menu bullshit
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);
}