forked from aniani/vim
updated for version 7.0207
This commit is contained in:
11
src/term.c
11
src/term.c
@@ -4792,12 +4792,23 @@ check_termcode(max_offset, buf, buflen)
|
||||
# ifdef FEAT_GUI_TABLINE
|
||||
else if (key_name[0] == (int)KS_TABLINE)
|
||||
{
|
||||
/* Selecting tabline tab or using its menu. */
|
||||
num_bytes = get_bytes_from_buf(tp + slen, bytes, 1);
|
||||
if (num_bytes == -1)
|
||||
return -1;
|
||||
current_tab = (int)bytes[0];
|
||||
slen += num_bytes;
|
||||
}
|
||||
else if (key_name[0] == (int)KS_TABMENU)
|
||||
{
|
||||
/* Selecting tabline tab or using its menu. */
|
||||
num_bytes = get_bytes_from_buf(tp + slen, bytes, 2);
|
||||
if (num_bytes == -1)
|
||||
return -1;
|
||||
current_tab = (int)bytes[0];
|
||||
current_tabmenu = (int)bytes[1];
|
||||
slen += num_bytes;
|
||||
}
|
||||
# endif
|
||||
# ifndef USE_ON_FLY_SCROLL
|
||||
else if (key_name[0] == (int)KS_VER_SCROLLBAR)
|
||||
|
||||
Reference in New Issue
Block a user