Skip to content

Commit 1955f38

Browse files
committed
Fix microsoft#1215 Output sketch memory usage in non-verbose mode
1 parent ce8e9fc commit 1955f38

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)