summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-04-09 21:54:49 +0000
committerBram Moolenaar <Bram@vim.org>2006-04-09 21:54:49 +0000
commitc6fe919573e82727a7de014daab122ffc5001854 (patch)
tree237b3cac7ceeee2c16d574a99f1c37e9bd94ea53 /src/gui.c
parent61660eadced09491ef8ee0a7d4af73cc75fdc349 (diff)
updated for version 7.0c13v7.0c13
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/gui.c b/src/gui.c
index 4c7c775846..208b72154f 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -591,7 +591,7 @@ gui_init()
/* When 'cmdheight' was set during startup it may not have taken
* effect yet. */
if (p_ch != 1L)
- command_height(-1L);
+ command_height();
return;
}
@@ -3497,6 +3497,25 @@ send_tabline_event(nr)
return TRUE;
}
+/*
+ * Send a tabline menu event
+ */
+ void
+send_tabline_menu_event(tabidx, event)
+ int tabidx;
+ int event;
+{
+ char_u string[3];
+
+ string[0] = CSI;
+ string[1] = KS_TABMENU;
+ string[2] = KE_FILLER;
+ add_to_input_buf(string, 3);
+ string[0] = tabidx;
+ string[1] = (char_u)(long)event;
+ add_to_input_buf_csi(string, 2);
+}
+
#endif
/*