comparison src/gui.c @ 691:8106f3da02d0

updated for version 7.0208
author vimboss
date Mon, 27 Feb 2006 00:00:52 +0000
parents d4b8e06e7c96
children 07d199fe02ed
comparison
equal deleted inserted replaced
690:0e922220d322 691:8106f3da02d0
3418 mch_memmove(NameBuff, buf, STRLEN(buf)); 3418 mch_memmove(NameBuff, buf, STRLEN(buf));
3419 } 3419 }
3420 } 3420 }
3421 } 3421 }
3422 3422
3423 /*
3424 * Send the event for clicking to select tab page "nr".
3425 * Returns TRUE if it was done, FALSE when skipped because we are already at
3426 * that tab page.
3427 */
3428 int
3429 send_tabline_event(nr)
3430 int nr;
3431 {
3432 char_u string[3];
3433
3434 if (nr == tabpage_index(curtab))
3435 return FALSE;
3436 string[0] = CSI;
3437 string[1] = KS_TABLINE;
3438 string[2] = KE_FILLER;
3439 add_to_input_buf(string, 3);
3440 string[0] = nr;
3441 add_to_input_buf_csi(string, 1);
3442 return TRUE;
3443 }
3444
3423 #endif 3445 #endif
3424 3446
3425 /* 3447 /*
3426 * Scrollbar stuff: 3448 * Scrollbar stuff:
3427 */ 3449 */