comparison 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
comparison
equal deleted inserted replaced
687:d4b8e06e7c96 688:bcd2edc4539e
4790 } 4790 }
4791 # endif 4791 # endif
4792 # ifdef FEAT_GUI_TABLINE 4792 # ifdef FEAT_GUI_TABLINE
4793 else if (key_name[0] == (int)KS_TABLINE) 4793 else if (key_name[0] == (int)KS_TABLINE)
4794 { 4794 {
4795 /* Selecting tabline tab or using its menu. */
4795 num_bytes = get_bytes_from_buf(tp + slen, bytes, 1); 4796 num_bytes = get_bytes_from_buf(tp + slen, bytes, 1);
4796 if (num_bytes == -1) 4797 if (num_bytes == -1)
4797 return -1; 4798 return -1;
4798 current_tab = (int)bytes[0]; 4799 current_tab = (int)bytes[0];
4800 slen += num_bytes;
4801 }
4802 else if (key_name[0] == (int)KS_TABMENU)
4803 {
4804 /* Selecting tabline tab or using its menu. */
4805 num_bytes = get_bytes_from_buf(tp + slen, bytes, 2);
4806 if (num_bytes == -1)
4807 return -1;
4808 current_tab = (int)bytes[0];
4809 current_tabmenu = (int)bytes[1];
4799 slen += num_bytes; 4810 slen += num_bytes;
4800 } 4811 }
4801 # endif 4812 # endif
4802 # ifndef USE_ON_FLY_SCROLL 4813 # ifndef USE_ON_FLY_SCROLL
4803 else if (key_name[0] == (int)KS_VER_SCROLLBAR) 4814 else if (key_name[0] == (int)KS_VER_SCROLLBAR)