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) {
16301630 editor .status .progressUpdate (percent );
16311631 }
16321632
1633-
1633+
16341634 protected void size (PreferencesMap prefs ) throws RunnerException {
16351635 long size = 0 ;
16361636 String maxsizeString = prefs .get ("upload.maximum_size" );
@@ -1641,8 +1641,8 @@ protected void size(PreferencesMap prefs) throws RunnerException {
16411641 try {
16421642 size = sizer .computeSize ();
16431643 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 ));
16461646 } catch (RunnerException e ) {
16471647 System .err .println (I18n .format (_ ("Couldn't determine program size: {0}" ),
16481648 e .getMessage ()));
You can’t perform that action at this time.
0 commit comments