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 {
19
19
static final int MAX_STRING_LENGTH = 200000 ;
20
20
private final BooleanProperty pausedScrollProperty = new SimpleBooleanProperty (false );
21
21
@ SuppressWarnings ("PMD.AvoidStringBufferField" )
22
- private final StringBuilder fullLog = new StringBuilder ();
22
+ private StringBuilder fullLog = new StringBuilder ();
23
23
private boolean full = false ;
24
24
25
25
@@ -66,4 +66,10 @@ public final BooleanProperty pausedScrollProperty() {
66
66
public final void setPausedScroll (boolean value ) {
67
67
pausedScrollProperty .setValue (value );
68
68
}
69
+
70
+ @ Override
71
+ public void clear () {
72
+ fullLog = new StringBuilder ();
73
+ full = false ;
74
+ }
69
75
}
You can’t perform that action at this time.
0 commit comments