summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-04 07:15:49 -0700
committerirungentoo <irungentoo@gmail.com>2013-08-04 07:15:49 -0700
commitb0f3b27fc8b7b55479351424f8963dc7b672c625 (patch)
tree283fbae493303bd335c3a35a9eac2de2c0910faf /testing
parent6f0ae0dbb483f7cb11ed735eac235e3367ccb019 (diff)
parent5300e98288760f9945316ac063af876e436fda7d (diff)
Merge pull request #321 from plutooo/master
toxic: Fixed doMessenger() interval.. Toxic is much faster and responsiv...
Diffstat (limited to 'testing')
-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