From 5300e98288760f9945316ac063af876e436fda7d Mon Sep 17 00:00:00 2001 From: plutooo Date: Sun, 4 Aug 2013 03:27:36 -0700 Subject: toxic: Fixed doMessenger() interval.. Toxic is much faster and responsive now. --- testing/toxic/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'testing') 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() { cbreak(); keypad(stdscr, 1); noecho(); - timeout(2000); + timeout(100); if(has_colors()) { start_color(); @@ -255,15 +255,15 @@ static void draw_bar() { attron(A_BOLD); } - odd = (odd+1) % 2; + odd = (odd+1) % 10; - if(windows[i].blink && odd) { + if(windows[i].blink && (odd < 5)) { attron(COLOR_PAIR(3)); } printw(" %s", windows[i].title); - if(windows[i].blink && odd) { + if(windows[i].blink && (odd < 5)) { attron(COLOR_PAIR(3)); } -- cgit v1.2.3