We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7503739 commit 61262c2Copy full SHA for 61262c2
arduino-ide-extension/src/browser/monitor/serial-monitor-send-output.tsx
@@ -71,7 +71,9 @@ export class SerialMonitorOutput extends React.Component<
71
});
72
this.scrollToBottom();
73
}),
74
- this.props.clearConsoleEvent(() => this.setState({ lines: [] })),
+ this.props.clearConsoleEvent(() =>
75
+ this.setState({ lines: [], charCount: 0 })
76
+ ),
77
this.props.monitorModel.onChange(({ property }) => {
78
if (property === 'timestamp') {
79
const { timestamp } = this.props.monitorModel;
0 commit comments