Explorar el Código

fix random scroll position after reflow

xuty hace 4 años
padre
commit
d1fd742913
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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((_) {