From 7c5b3ef1b00602853e83d6dab8d6760a9ac5d795 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 25 Apr 2020 21:45:18 -0700 Subject: [PATCH] Fixed scrolling off-by-one error in python --- Python/btui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/btui.py b/Python/btui.py index 776c1d7..b5843be 100644 --- a/Python/btui.py +++ b/Python/btui.py @@ -208,7 +208,7 @@ class BTUI: assert self._btui if amount is None: amount = firstline - firstline, lastline = 1, self.height + firstline, lastline = 0, self.height-1 libbtui.btui_scroll(self._btui, firstline, lastline, amount) libbtui.btui_flush(self._btui)