- commit
- 61cab8b273c4f6851b96beeea4fbce8d130c409a
- parent
- b5b01c21e86a395b93bd65d31e4e99125de37fc8
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-07-12 18:06
fixup change xy
Diffstat
| M | boon.py | 4 | ++-- |
1 files changed, 2 insertions, 2 deletions
diff --git a/boon.py b/boon.py
@@ -32,7 +32,7 @@ def getsize(): 32 32 try: 33 33 raw = ioctl(sys.stdout, termios.TIOCGWINSZ, '\000' * 8) 34 34 parsed = struct.unpack('hhhh', raw)35 -1 return parsed[1], parsed[0]-1 35 return parsed[0], parsed[1] 36 36 except OSError: 37 37 return 0, 0 38 38 @@ -120,7 +120,7 @@ class App: 120 120 self.old_lines = lines 121 121 122 122 def on_resize(self, *args):123 -1 self.cols, self.rows = getsize()-1 123 self.rows, self.cols = getsize() 124 124 self.update() 125 125 126 126 def run(self):