From 93ae03e5a2391b87565eac6f0ab175ee411c3c57 Mon Sep 17 00:00:00 2001 From: Adrien MALINGREY <adrien@malingrey.fr> Date: Sat, 31 Aug 2019 20:01:27 +0200 Subject: [PATCH] Fix crash when terminal can only display 8 color pairs adrienmalin committed --- terminis/terminis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminis/terminis.py b/terminis/terminis.py index 01f81b7..14339b1 100644 --- a/terminis/terminis.py +++ b/terminis/terminis.py @@ -11,7 +11,7 @@ You can install it on Windows with: pip install --user windows-curses""" ) else: - curses.COLOR_ORANGE = 8 + curses.COLOR_ORANGE = curses.COLOR_WHITE import random import sched