aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/terminal.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-09-06 07:25:01 +0200
committerGitHub <noreply@github.com>2017-09-06 07:25:01 +0200
commit51808a244ecaa0a40b4e8280938333d2792d8422 (patch)
tree722b303136a2dec83f3f4f14ee0b5d3aa62fa559 /src/nvim/terminal.c
parent82795c2c3a429b2725af882cad4317bed8f1b741 (diff)
parentb9d6bda53126433cbb251b47d8788d92cda9e6e4 (diff)
downloadrneovim-51808a244ecaa0a40b4e8280938333d2792d8422.tar.gz
rneovim-51808a244ecaa0a40b4e8280938333d2792d8422.tar.bz2
rneovim-51808a244ecaa0a40b4e8280938333d2792d8422.zip
Merge #7221 from justinmk/ev-focusgained
tui: schedule event instead of <FocusGained> pseudokey
Diffstat (limited to 'src/nvim/terminal.c')
-rw-r--r--src/nvim/terminal.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c
index deec930ebd..1c764d302d 100644
--- a/src/nvim/terminal.c
+++ b/src/nvim/terminal.c
@@ -432,14 +432,6 @@ static int terminal_execute(VimState *state, int key)
TerminalState *s = (TerminalState *)state;
switch (key) {
- case K_FOCUSGAINED: // nvim has been given focus
- apply_autocmds(EVENT_FOCUSGAINED, NULL, NULL, false, curbuf);
- break;
-
- case K_FOCUSLOST: // nvim has lost focus
- apply_autocmds(EVENT_FOCUSLOST, NULL, NULL, false, curbuf);
- break;
-
// Temporary fix until paste events gets implemented
case K_PASTE:
break;