summaryrefslogtreecommitdiff
path: root/src/fe-text/irssi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/irssi.c')
-rw-r--r--src/fe-text/irssi.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c
index 80fbed21..dfae17c5 100644
--- a/src/fe-text/irssi.c
+++ b/src/fe-text/irssi.c
@@ -55,8 +55,8 @@ void irc_deinit(void);
void gui_expandos_init(void);
void gui_expandos_deinit(void);
-void gui_textwidget_init(void);
-void gui_textwidget_deinit(void);
+void textbuffer_commands_init(void);
+void textbuffer_commands_deinit(void);
void lastlog_init(void);
void lastlog_deinit(void);
@@ -124,11 +124,13 @@ static void textui_finish_init(void)
quitting = FALSE;
screen_refresh_freeze();
+ textbuffer_init();
+ textbuffer_view_init();
+ textbuffer_commands_init();
gui_entry_init();
gui_expandos_init();
gui_printtext_init();
gui_readline_init();
- gui_textwidget_init();
lastlog_init();
mainwindows_init();
mainwindow_activity_init();
@@ -165,7 +167,6 @@ static void textui_deinit(void)
signal_remove("gui exit", (SIGNAL_FUNC) sig_exit);
- gui_textwidget_deinit();
lastlog_deinit();
statusbar_deinit();
gui_printtext_deinit();
@@ -176,6 +177,9 @@ static void textui_deinit(void)
mainwindows_deinit();
gui_expandos_deinit();
gui_entry_deinit();
+ textbuffer_commands_deinit();
+ textbuffer_view_deinit();
+ textbuffer_deinit();
screen_refresh_thaw();
deinit_screen();