xuty 3 жил өмнө
parent
commit
fc644ddcf3

+ 2 - 1
lib/src/ui/render.dart

@@ -243,7 +243,8 @@ class RenderTerminal extends RenderBox with RelayoutWhenSystemFontsChangeMixin {
   /// The distance from the top of the terminal to the top of the viewport.
   // double get _scrollOffset => _offset.pixels;
   double get _scrollOffset {
-    return _offset.pixels ~/ _charSize.height * _charSize.height;
+    // return _offset.pixels ~/ _charSize.height * _charSize.height;
+    return _offset.pixels;
   }
 
   /// Get the top-left corner of the cell at [cellOffset] in pixels.