mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Replaced preventDefault with cancel
This commit is contained in:
+2
-2
@@ -2201,7 +2201,7 @@
|
||||
// left-arrow
|
||||
case 37:
|
||||
if (ev.altKey) {
|
||||
ev.preventDefault();
|
||||
this.cancel(ev, true);
|
||||
key = '\x1bb' // Jump a word back
|
||||
break;
|
||||
} else if (this.applicationCursor) {
|
||||
@@ -2213,7 +2213,7 @@
|
||||
// right-arrow
|
||||
case 39:
|
||||
if (ev.altKey) {
|
||||
ev.preventDefault();
|
||||
this.cancel(ev, true);
|
||||
key = '\x1bf' // Jump a word forward
|
||||
break;
|
||||
} else if (this.applicationCursor) {
|
||||
|
||||
Reference in New Issue
Block a user