aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2019-08-15 15:43:55 +0200
committerJakob Stendahl <jakob.stendahl@outlook.com>2019-08-15 15:43:55 +0200
commitc6d2d3deb9267e3bed1a3aa4514fb98d2d1a63f8 (patch)
tree11e5a86999154cd3545f8c564be022357bbc509a /README.md
parent4a6e117c9425b4b7ec0875b654c20ea92d3d7ce0 (diff)
downloadTermIO-python-package-c6d2d3deb9267e3bed1a3aa4514fb98d2d1a63f8.tar.gz
TermIO-python-package-c6d2d3deb9267e3bed1a3aa4514fb98d2d1a63f8.zip
:wrench: Add better way to get terminal size
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 12 insertions, 4 deletions
diff --git a/README.md b/README.md
index bd3f051..7e9f7ae 100644
--- a/README.md
+++ b/README.md
@@ -9,11 +9,19 @@ had good with bash.
import TermIO
```
-## var `TermIO.rows`
-Rows in the terminal. Not updating as of now...
+## func `TermIO.TermSize.Rows(Update=True)`
+Returns rows in terminal as an int.
+```
+Update : BOOL, should you check the terminal size again, or just [True]
+ assume that it hasn't changed since last check.
+```
-## var `TermIO.columns`
-Number of columns in the terminal. Not updating either...
+## func `TermIO.TermSize.Columns(Update=True)`
+Returns Columns in terminal as an int.
+```
+Update : BOOL, should you check the terminal size again, or just [True]
+ assume that it hasn't changed since last check.
+```
## func `TermIO.Cursor.SetPos(col, row, flush=True)`
Set cursor to a spesific column and row in the terminal.