summaryrefslogtreecommitdiff
path: root/src/gui/gui-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui-common.c')
-rw-r--r--src/gui/gui-common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/gui-common.c b/src/gui/gui-common.c
index fd8795342..397e3c3c3 100644
--- a/src/gui/gui-common.c
+++ b/src/gui/gui-common.c
@@ -96,6 +96,10 @@ gui_window_new (void *server, void *channel, int switch_to_window
new_window->line_complete = 1;
new_window->unread_data = 0;
+ /* init infobar */
+ new_window->infobar = NULL;
+ new_window->infobar_length = new_window->win_width + 1;
+
/* init input buffer */
new_window->input_buffer_alloc = INPUT_BUFFER_BLOCK_SIZE;
new_window->input_buffer = (char *) malloc (INPUT_BUFFER_BLOCK_SIZE);