mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
allow escape or q to leave modes.
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user