Ver Fonte

fix random scroll position after reflow

xuty há 4 anos atrás
pai
commit
d1fd742913
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      lib/frontend/terminal_view.dart

+ 1 - 0
lib/frontend/terminal_view.dart

@@ -289,6 +289,7 @@ class _TerminalViewState extends State<TerminalView> {
 
       SchedulerBinding.instance!.addPostFrameCallback((_) {
         widget.terminal.resize(termWidth, termHeight);
+        widget.terminal.refresh();
       });
 
       // Future.delayed(Duration.zero).then((_) {