Skip to content

Commit ba4db50

Browse files
committed
feat: reset console on clear
1 parent be69fd7 commit ba4db50

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/renderer/components/output.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ export const Output = observer(
9696
monaco.KeyMod.CtrlCmd | monaco.KeyCode.KEY_K,
9797
() => {
9898
this.props.appState.clearConsole();
99+
this.props.appState.output.push({
100+
timeString: new Date().toLocaleTimeString(),
101+
text: '',
102+
});
99103
},
100104
);
101105
}

0 commit comments

Comments
 (0)