From 9d6e9f316f058a66ea83a7ad379f0b822f6b0973 Mon Sep 17 00:00:00 2001 From: Mike Date: Sun, 2 Aug 2020 03:13:14 -0700 Subject: [PATCH] Adjust terminal height detection --- TextCanvas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TextCanvas.py b/TextCanvas.py index d0c33f2..d5c7173 100644 --- a/TextCanvas.py +++ b/TextCanvas.py @@ -287,7 +287,7 @@ class TextCanvas: width, height = self.determine_terminal_dimensions() self.__terminal_width = width - self.__terminal_height = height + self.__terminal_height = height - 1 self._auto_calculate_virtual_dimensions(acquire_locks=False)