diff options
author | Mario Domgoergen <mdom@taz.de> | 2020-10-09 13:32:14 +0200 |
---|---|---|
committer | Mario Domgoergen <mdom@taz.de> | 2020-10-09 13:32:14 +0200 |
commit | b516051515b9565fb1ad3073f0eeef21ff341bdd (patch) | |
tree | 31f80cd2247af3a3917ba89dedbae6e2a219eb9a /epy.py | |
parent | 15ffb68aa724e86e99c7f4408d85dd48c25cf6e6 (diff) | |
download | epy-b516051515b9565fb1ad3073f0eeef21ff341bdd.tar.gz |
Check if color is supported by terminal
Diffstat (limited to 'epy.py')
-rwxr-xr-x | epy.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1717,8 +1717,8 @@ def reader(ebook, index, width, y, pctg, sect): def preread(stdscr, file): global COLORSUPPORT, SHOWPROGRESS, SCREEN - curses.use_default_colors() try: + curses.use_default_colors() curses.init_pair(1, -1, -1) curses.init_pair(2, CFG["DarkColorFG"], CFG["DarkColorBG"]) curses.init_pair(3, CFG["LightColorFG"], CFG["LightColorBG"]) |