Sfoglia il codice sorgente

adds maxLines = 10000 as a default (should be reasonable)

devmil 4 anni fa
parent
commit
1eb68f3904
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lib/terminal/terminal.dart

+ 1 - 1
lib/terminal/terminal.dart

@@ -38,7 +38,7 @@ class Terminal with Observable {
     this.onIconChange = _defaultIconHandler,
     this.platform = PlatformBehaviors.unix,
     this.theme = TerminalThemes.defaultTheme,
-    int? maxLines,
+    int maxLines = 10000,
   }) {
     _maxLines = maxLines;