Adjust terminal height detection
This commit is contained in:
1 parent
f8c13c0c2d
commit
9d6e9f316f
1 file changed
+1
-1
+1
-1
@@ -287,7 +287,7 @@ class TextCanvas:
|
|||||||
width, height = self.determine_terminal_dimensions()
|
width, height = self.determine_terminal_dimensions()
|
||||||
|
|
||||||
self.__terminal_width = width
|
self.__terminal_width = width
|
||||||
self.__terminal_height = height
|
self.__terminal_height = height - 1
|
||||||
|
|
||||||
self._auto_calculate_virtual_dimensions(acquire_locks=False)
|
self._auto_calculate_virtual_dimensions(acquire_locks=False)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user