Просмотр исходного кода

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

devmil 4 лет назад
Родитель
Сommit
1eb68f3904
1 измененных файлов с 1 добавлено и 1 удалено
  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;