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().
|
||||
* - Win32: Redirecting output does not work, Test_terminal_redir_file()
|
||||
* 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
|
||||
* the number of lines, until a redraw happens. Then if scrolling many lines
|
||||
* a redraw is faster.
|
||||
@@ -1682,6 +1681,10 @@ send_keys_to_term(term_T *term, int c, int typed)
|
||||
stuffcharReadbuff(c);
|
||||
return FAIL;
|
||||
|
||||
case K_TABLINE:
|
||||
stuffcharReadbuff(c);
|
||||
return FAIL;
|
||||
|
||||
case K_IGNORE:
|
||||
case K_CANCEL: // used for :normal when running out of chars
|
||||
return FAIL;
|
||||
|
Reference in New Issue
Block a user