File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
ui/src/main/java/edu/wpi/grip/ui/components Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public class LogTextArea extends TextArea {
1919 static final int MAX_STRING_LENGTH = 200000 ;
2020 private final BooleanProperty pausedScrollProperty = new SimpleBooleanProperty (false );
2121 @ SuppressWarnings ("PMD.AvoidStringBufferField" )
22- private final StringBuilder fullLog = new StringBuilder ();
22+ private StringBuilder fullLog = new StringBuilder ();
2323 private boolean full = false ;
2424
2525
@@ -66,4 +66,10 @@ public final BooleanProperty pausedScrollProperty() {
6666 public final void setPausedScroll (boolean value ) {
6767 pausedScrollProperty .setValue (value );
6868 }
69+
70+ @ Override
71+ public void clear () {
72+ fullLog = new StringBuilder ();
73+ full = false ;
74+ }
6975}
You can’t perform that action at this time.
0 commit comments