diff --git a/README.md b/README.md
index b738db7..db56075 100644
--- a/README.md
+++ b/README.md
@@ -2246,8 +2246,6 @@ from tqdm import tqdm
from time import sleep
for el in tqdm([1, 2, 3]):
sleep(0.2)
-for i in tqdm(range(100)):
- sleep(0.02)
```
@@ -2293,7 +2291,8 @@ def main():
wrapper(draw)
def draw(screen):
- curs_set(0)
+ curs_set(0) # Makes cursor invisible.
+ screen.nodelay(True) # Makes getch() non-blocking.
screen.clear()
screen.addstr(0, 0, 'Press ESC to quit.')
while screen.getch() != ascii.ESC:
diff --git a/index.html b/index.html
index 6318b2d..8b39ae5 100644
--- a/index.html
+++ b/index.html
@@ -1943,8 +1943,6 @@ reader(adder(printer()))
from time import sleep
for el in tqdm([1, 2, 3]):
sleep(0.2)
-for i in tqdm(range(100)):
- sleep(0.02)
@@ -1977,7 +1975,8 @@ pyplot.clf()
- curs_set(0)
+ curs_set(0)
+ screen.nodelay(True)
screen.clear()
screen.addstr(0, 0, 'Press ESC to quit.')
while screen.getch() != ascii.ESC: