Merge pull request #541 from hho/patch-1

Prevent Ctrl-Tab from triggering tab completion
This commit is contained in:
Jérémie Astori 2016-08-06 13:56:06 -04:00 committed by GitHub
commit 9d5f6f01b3

View File

@ -112,7 +112,7 @@
this.on("keydown.tabcomplete", function(e) {
var key = e.which;
if (key == keys.tab
if (key == keys.tab && !e.ctrlKey
|| (options.arrowKeys && (key == keys.up || key == keys.down))) {
// Don't lose focus on tab click.