File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1630,7 +1630,7 @@ public void setCompilingProgress(int percent) {
1630
1630
editor .status .progressUpdate (percent );
1631
1631
}
1632
1632
1633
-
1633
+
1634
1634
protected void size (PreferencesMap prefs ) throws RunnerException {
1635
1635
long size = 0 ;
1636
1636
String maxsizeString = prefs .get ("upload.maximum_size" );
@@ -1641,8 +1641,8 @@ protected void size(PreferencesMap prefs) throws RunnerException {
1641
1641
try {
1642
1642
size = sizer .computeSize ();
1643
1643
System .out .println (I18n
1644
- .format (_ ("Binary sketch size: {0} bytes (of a {1} byte maximum)" ),
1645
- size , maxsize ));
1644
+ .format (_ ("Binary sketch size: {0} bytes (of a {1} byte maximum) - {2}% used " ),
1645
+ size , maxsize , size * 100 / maxsize ));
1646
1646
} catch (RunnerException e ) {
1647
1647
System .err .println (I18n .format (_ ("Couldn't determine program size: {0}" ),
1648
1648
e .getMessage ()));
You can’t perform that action at this time.
0 commit comments