summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorplutooo <tfy12vbr@student.lu.se>2013-08-04 03:27:36 -0700
committerplutooo <tfy12vbr@student.lu.se>2013-08-04 03:27:36 -0700
commit5300e98288760f9945316ac063af876e436fda7d (patch)
tree283fbae493303bd335c3a35a9eac2de2c0910faf
parent6f0ae0dbb483f7cb11ed735eac235e3367ccb019 (diff)
toxic: Fixed doMessenger() interval.. Toxic is much faster and responsive now.
-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