From 825e6702ef565ce95567c9f86bb8c2daf530dacb Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 10 Apr 2016 14:27:30 +0100 Subject: [PATCH] stop ctrl-tab etc from triggering an autocomplete --- src/TabComplete.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/TabComplete.js b/src/TabComplete.js index 0cf6e1948a..7da8bde76b 100644 --- a/src/TabComplete.js +++ b/src/TabComplete.js @@ -219,6 +219,9 @@ class TabComplete { return; } + // ctrl-tab/alt-tab etc shouldn't trigger a complete + if (ev.ctrlKey || ev.metaKey || ev.altKey) return; + // tab key has been pressed at this point this.handleTabPress(false, ev.shiftKey)