Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit db5f211

Browse files
committed
Fix #1215 Output sketch memory usage in non-verbose mode
1 parent 22ac723 commit db5f211

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/arduino/arduino.ts

+5
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,11 @@ export class ArduinoApp {
732732
}
733733
if (verbose) {
734734
arduinoChannel.channel.append(line);
735+
} else {
736+
// Output sketch memory usage in non-verbose mode
737+
if (line.startsWith("Sketch uses ") || line.startsWith("Global variables use ")) {
738+
arduinoChannel.channel.append(line);
739+
}
735740
}
736741
}
737742
const stderrcb = (line: string) => {

0 commit comments

Comments
 (0)