summaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorcflip <cflip@cflip.net>2023-01-25 11:28:09 -0700
committercflip <cflip@cflip.net>2023-01-25 18:32:43 -0700
commit723876da5741892530cd74112ec1510124e95cf9 (patch)
tree2017e9e488a073b274c485fbd192ba05724c01c7 /editor.h
parent69e2be81c732353f5f89389fec3f9bb768b0766a (diff)
Rename `append_buffer` to textbuf
This name is a little bit better I think, and it will be nice to have a distinction between this utility and the 'file' kind of buffer.
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor.h b/editor.h
index e8e4976..f8fbfa8 100644
--- a/editor.h
+++ b/editor.h
@@ -3,7 +3,7 @@
#include <time.h>
-#include "buffer.h"
+#include "textbuf.h"
#include "line.h"
enum editor_mode {
@@ -55,8 +55,8 @@ void editor_add_line_below(struct editor_state* editor);
void editor_find(struct editor_state* editor);
void editor_scroll(struct editor_state* editor);
void editor_update_screen_size(struct editor_state *);
-void editor_draw_status_bar(struct editor_state *editor, struct append_buffer *buffer);
-void editor_draw_message_bar(struct editor_state *editor, struct append_buffer *buffer);
+void editor_draw_status_bar(struct editor_state *editor, struct textbuf *buffer);
+void editor_draw_message_bar(struct editor_state *editor, struct textbuf *buffer);
void editor_destroy(struct editor_state *editor);