Update wnow.py

dumb typo
This commit is contained in:
Christopher Handy 2023-08-04 12:04:54 +02:00 committed by GitHub
parent a756db2223
commit 28d189b8a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ def schermo(scr, *args):
curses.use_default_colors() curses.use_default_colors()
#for i in range(1, curses.COLORS): #for i in range(1, curses.COLORS):
for i in range(1, curses.COLORPAIRS): for i in range(1, curses.COLOR_PAIRS):
curses.init_pair(i, i, -1); curses.init_pair(i, i, -1);
curses.init_pair(1, curses.COLOR_GREEN, -1) curses.init_pair(1, curses.COLOR_GREEN, -1)