xuty 4 лет назад
Родитель
Сommit
33c93bf338
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/terminal/terminal.dart

+ 1 - 1
lib/terminal/terminal.dart

@@ -166,7 +166,7 @@ class Terminal with Observable {
   late Buffer _altBuffer;
   late Buffer _altBuffer;
 
 
   /// Queue of input characters. addLast() to add, removeFirst() to consume.
   /// Queue of input characters. addLast() to add, removeFirst() to consume.
-  final _queue = Queue<int>();
+  final _queue = ListQueue<int>(81920);
 
 
   bool _slowMotion = false;
   bool _slowMotion = false;
   bool get slowMotion => _slowMotion;
   bool get slowMotion => _slowMotion;