Skip to content

Commit b8bbc9a

Browse files
committed
except on windows
1 parent 1d4c611 commit b8bbc9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runtime/console.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ function addLinkHandler (terminal) {
252252
}
253253

254254
function handleKeybinding (e, term, binds = whitelistedKeybindingsTerminal) {
255-
if (e.keyCode === 13 && (e.altKey || e.metaKey) && e.type === 'keydown') {
255+
if (process.platform !== 'win32' && e.keyCode === 13 && (e.altKey || e.metaKey) && e.type === 'keydown') {
256256
// Meta-Enter doesn't work properly with xterm.js atm, so we send the right escape sequence ourselves:
257257
if (term.ty) {
258258
term.ty.write('\x1b\x0d')

0 commit comments

Comments
 (0)