Skip to content

Commit 022a48b

Browse files
committed
Clear current line after upgrade.
Prevents the string "upgrade" from being appended to the next command typed.
1 parent 330c3e0 commit 022a48b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/commands.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,7 @@ const commands = {
667667
await term.delayPrint("Please report any bugs you find.\r\n", 1 * timeUnit);
668668

669669
term.prompt();
670+
term.clearCurrentLine();
670671
term.locked = false;
671672
},
672673

0 commit comments

Comments
 (0)