diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-04-11 17:56:51 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-04-11 17:56:51 +0800 |
| commit | 9f844cd264e7fcda9a609d0b7039fc5a27300491 (patch) | |
| tree | cb7fc9b8ea33282d3e9704e82de0a33f6a7fb66d /stdlib.py | |
| parent | a904530d9f6c056b3a7839b34c9f677ee7fcb3b4 (diff) | |
added rawinput functionmain
Diffstat (limited to 'stdlib.py')
| -rwxr-xr-x | stdlib.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -185,6 +185,10 @@ def keepasks(info: str, inputter=ainputf, *inputargs): tmprespond = inputter(info, *inputargs) return tmprespond +def rawinput(): + from readchar import readkey + return readkey() + # animated countdown from @timeoutsec def countdown(timeoutsec: int): from time import sleep |
