From 710343b39a3483ffda8c6ccedaf98320886d8e48 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Thu, 15 Aug 2019 21:42:57 +0200 Subject: :construction: Fix stupid error, new version --- TermIO/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'TermIO/__init__.py') 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() -- cgit v1.2.3