aboutsummaryrefslogtreecommitdiff
path: root/TermIO/__init__.py
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2019-08-15 21:42:57 +0200
committerJakob Stendahl <jakob.stendahl@outlook.com>2019-08-15 21:42:57 +0200
commit710343b39a3483ffda8c6ccedaf98320886d8e48 (patch)
tree1f77c7de5da81c2a3738ea05dd72b66fab166bc1 /TermIO/__init__.py
parentc4866aa7b16400bb73e7f5389725fd0093dbd3c8 (diff)
downloadTermIO-python-package-710343b39a3483ffda8c6ccedaf98320886d8e48.tar.gz
TermIO-python-package-710343b39a3483ffda8c6ccedaf98320886d8e48.zip
:construction: Fix stupid error, new version
Diffstat (limited to 'TermIO/__init__.py')
-rw-r--r--TermIO/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/TermIO/__init__.py b/TermIO/__init__.py
index fef84d4..6933dbe 100644
--- a/TermIO/__init__.py
+++ b/TermIO/__init__.py
@@ -9,15 +9,15 @@ class TermSizeSkeleton:
self.Update()
def Update(self):
- self.Rows, self.Columns = map(int, os.popen('stty size', 'r').read().split())
+ self.RowsInt, self.ColumnsInt = map(int, os.popen('stty size', 'r').read().split())
def Rows(self, Update=True):
if Update: self.Update()
- return self.Rows
+ return self.RowsInt
def Columns(self, Update=True):
if Update: self.Update()
- return self.Rows
+ return self.RowsInt
TermSize = TermSizeSkeleton()