Mercurial > vim
diff src/term.c @ 688:bcd2edc4539e
updated for version 7.0207
author | vimboss |
---|---|
date | Sat, 25 Feb 2006 21:52:33 +0000 |
parents | d7e33248b9c8 |
children | 07d199fe02ed |
line wrap: on
line diff
--- a/src/term.c +++ b/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)