Skip to content

Commit f019664

Browse files
author
Alberto Iannaccone
committed
fix serial monitor send line ending
1 parent bee7830 commit f019664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-ide-extension/src/browser/serial/monitor/serial-monitor-send-input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export class SerialMonitorSendInput extends React.Component<
102102
}
103103

104104
protected onSend(): void {
105-
this.props.onSend(this.state.text);
105+
this.props.onSend(this.state.text + this.props.monitorModel.lineEnding);
106106
this.setState({ text: '' });
107107
}
108108

0 commit comments

Comments
 (0)