Skip to content

Commit da772e5

Browse files
authored
Fix WebSocket Terminal del key (#1285)
1 parent 66f0f37 commit da772e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/webSocketTerminal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ class WebSocketTerminal implements vscode.Pseudoterminal {
374374
inputArr[inputArr.length - 1].slice(0, this._cursorCol - this._margin) +
375375
inputArr[inputArr.length - 1].slice(this._cursorCol - this._margin + 1);
376376
this._input = inputArr.join("\r\n");
377-
this._hideCursorWrite(actions.cursorForward + actions.deleteChar + actions.cursorBack);
377+
this._hideCursorWrite(actions.deleteChar);
378378
if (this._input != "" && this._state == "prompt" && this._syntaxColoringEnabled()) {
379379
// Syntax color input
380380
this._socket.send(JSON.stringify({ type: "color", input: this._input }));

0 commit comments

Comments
 (0)