summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testing/toxic/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/toxic/main.c b/testing/toxic/main.c
index 3b45a89f..e0e23708 100644
--- a/testing/toxic/main.c
+++ b/testing/toxic/main.c
@@ -91,7 +91,7 @@ static void init_term() {
91 cbreak(); 91 cbreak();
92 keypad(stdscr, 1); 92 keypad(stdscr, 1);
93 noecho(); 93 noecho();
94 timeout(2000); 94 timeout(100);
95 95
96 if(has_colors()) { 96 if(has_colors()) {
97 start_color(); 97 start_color();
@@ -255,15 +255,15 @@ static void draw_bar() {
255 attron(A_BOLD); 255 attron(A_BOLD);
256 } 256 }
257 257
258 odd = (odd+1) % 2; 258 odd = (odd+1) % 10;
259 259
260 if(windows[i].blink && odd) { 260 if(windows[i].blink && (odd < 5)) {
261 attron(COLOR_PAIR(3)); 261 attron(COLOR_PAIR(3));
262 } 262 }
263 263
264 printw(" %s", windows[i].title); 264 printw(" %s", windows[i].title);
265 265
266 if(windows[i].blink && odd) { 266 if(windows[i].blink && (odd < 5)) {
267 attron(COLOR_PAIR(3)); 267 attron(COLOR_PAIR(3));
268 } 268 }
269 269