aboutsummaryrefslogtreecommitdiff
path: root/__init__.py
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2019-08-15 21:19:38 +0200
committerJakob Stendahl <jakob.stendahl@outlook.com>2019-08-15 21:19:38 +0200
commite1cde9174a5ba42de8daccd7b74ea10093029220 (patch)
tree011046e4a766c7a5a13471788c7a5e6ebb03fbee /__init__.py
parentd2379f3b162b598ec6fb0a0a2b995aa7dbf1f10c (diff)
downloadTermIO-python-package-e1cde9174a5ba42de8daccd7b74ea10093029220.tar.gz
TermIO-python-package-e1cde9174a5ba42de8daccd7b74ea10093029220.zip
:truck: Move package into folder
Diffstat (limited to '__init__.py')
-rw-r--r--__init__.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/__init__.py b/__init__.py
deleted file mode 100644
index fef84d4..0000000
--- a/__init__.py
+++ /dev/null
@@ -1,23 +0,0 @@
-from .out import *
-
-import os
-
-
-class TermSizeSkeleton:
-
- def __init__(self):
- self.Update()
-
- def Update(self):
- self.Rows, self.Columns = map(int, os.popen('stty size', 'r').read().split())
-
- def Rows(self, Update=True):
- if Update: self.Update()
- return self.Rows
-
- def Columns(self, Update=True):
- if Update: self.Update()
- return self.Rows
-
-
-TermSize = TermSizeSkeleton()