allow escape or q to leave modes.

This commit is contained in:
Christopher Jeffrey
2013-12-04 06:31:08 -06:00
parent 8f609bcbcd
commit 5bfa17b0b9
+1 -1
View File
@@ -5074,7 +5074,7 @@ Terminal.prototype.keySelect = function(ev, key) {
return;
}
if (key === 'q') {
if (key === 'q' || key === '\x1b') {
if (this.visualMode) {
this.leaveVisual();
} else {