use your terminal's colors: why is that not on by default lmao

This commit is contained in:
xfnw 2021-07-22 17:07:29 -04:00
parent e66b4b31cf
commit 7c288d91da

3
nboard
View file

@ -10,6 +10,7 @@ data = {}
def main(stdscr): def main(stdscr):
curses.halfdelay(5) curses.halfdelay(5)
curses.use_default_colors()
stdscr.erase() stdscr.erase()
stdscr.refresh() stdscr.refresh()
@ -116,7 +117,7 @@ def main(stdscr):
k = 'NOU' k = 'NOU'
time.sleep(0) time.sleep(0)
except json.decoder.JSONDecodeError: except json.decoder.JSONDecodeError:
time.sleep(0.5) time.sleep(0.1)
if __name__ == "__main__": if __name__ == "__main__":