summaryrefslogtreecommitdiff
path: root/ui.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-12 10:33:11 -0300
committerpommicket <pommicket@gmail.com>2023-08-12 10:33:11 -0300
commita974b6192479e5f7f6d6fcc328313c76290f486d (patch)
tree01ec86dcbc22c94e43936efbda6673c19ed8a5e0 /ui.c
parentcca844b42a6303282e7536c8834b74ff56140cbf (diff)
internalize buffer - broke some stuff
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui.c b/ui.c
index bca2614..b47694d 100644
--- a/ui.c
+++ b/ui.c
@@ -90,8 +90,8 @@ char *selector_update(Ted *ted, Selector *s) {
}
}
- if (line_buffer->line_buffer_submitted) {
- line_buffer->line_buffer_submitted = false;
+ if (line_buffer_is_submitted(line_buffer)) {
+ line_buffer_clear_submitted(line_buffer);
if (!ret) {
if (s->enable_cursor) {
// select this option