mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.0.1796: GUI: click on tab fails when the focus is in a terminal
Problem: GUI: click on tab fails when the focus is in a terminal window. Solution: Handle K_TABLINE.
This commit is contained in:
@@ -42,7 +42,6 @@
|
|||||||
* redirection. Probably in call to channel_set_pipes().
|
* redirection. Probably in call to channel_set_pipes().
|
||||||
* - Win32: Redirecting output does not work, Test_terminal_redir_file()
|
* - Win32: Redirecting output does not work, Test_terminal_redir_file()
|
||||||
* is disabled.
|
* is disabled.
|
||||||
* - GUI: when using tabs, focus in terminal, click on tab does not work.
|
|
||||||
* - handle_moverect() scrolls one line at a time. Postpone scrolling, count
|
* - handle_moverect() scrolls one line at a time. Postpone scrolling, count
|
||||||
* the number of lines, until a redraw happens. Then if scrolling many lines
|
* the number of lines, until a redraw happens. Then if scrolling many lines
|
||||||
* a redraw is faster.
|
* a redraw is faster.
|
||||||
@@ -1682,6 +1681,10 @@ send_keys_to_term(term_T *term, int c, int typed)
|
|||||||
stuffcharReadbuff(c);
|
stuffcharReadbuff(c);
|
||||||
return FAIL;
|
return FAIL;
|
||||||
|
|
||||||
|
case K_TABLINE:
|
||||||
|
stuffcharReadbuff(c);
|
||||||
|
return FAIL;
|
||||||
|
|
||||||
case K_IGNORE:
|
case K_IGNORE:
|
||||||
case K_CANCEL: // used for :normal when running out of chars
|
case K_CANCEL: // used for :normal when running out of chars
|
||||||
return FAIL;
|
return FAIL;
|
||||||
|
@@ -761,6 +761,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1796,
|
||||||
/**/
|
/**/
|
||||||
1795,
|
1795,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user