Skip to content

Commit

Permalink
Fix WebSocket Terminal del key (#1285)
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-bsaviano authored Dec 27, 2023
1 parent 66f0f37 commit da772e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/webSocketTerminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ class WebSocketTerminal implements vscode.Pseudoterminal {
inputArr[inputArr.length - 1].slice(0, this._cursorCol - this._margin) +
inputArr[inputArr.length - 1].slice(this._cursorCol - this._margin + 1);
this._input = inputArr.join("\r\n");
this._hideCursorWrite(actions.cursorForward + actions.deleteChar + actions.cursorBack);
this._hideCursorWrite(actions.deleteChar);
if (this._input != "" && this._state == "prompt" && this._syntaxColoringEnabled()) {
// Syntax color input
this._socket.send(JSON.stringify({ type: "color", input: this._input }));
Expand Down

0 comments on commit da772e5

Please sign in to comment.