Skip to content

Commit

Permalink
Fixed context changes again
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Oct 14, 2024
1 parent 76ed430 commit 44b901e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ function handleData($: ShellContext, data: string) {
if ($.input != $.inputs[0]) {
$.inputs.unshift($.input);
}
$.index = -1;
$.terminal.write('\r\n');
$.onLine($.input);
$.index = -1;
$.input = '';
$.terminal.write($.prompt);
break;
Expand Down

0 comments on commit 44b901e

Please sign in to comment.