0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.1-095

This commit is contained in:
Bram Moolenaar
2007-09-05 19:47:23 +00:00
parent 102e3a6164
commit 9c8791fde0
6 changed files with 54 additions and 15 deletions

View File

@@ -1596,8 +1596,15 @@ vgetc()
continue;
}
#endif
#ifdef FEAT_GUI
/* The caller doesn't need to know that the focus event is delayed
* until getting a character. */
if (c == K_FOCUSGAINED || c == K_FOCUSLOST)
{
ui_focus_change(c == K_FOCUSGAINED);
continue;
}
/* Translate K_CSI to CSI. The special key is only used to avoid
* it being recognized as the start of a special key. */
if (c == K_CSI)