Merge pull request #321 from plutooo/master

toxic: Fixed doMessenger() interval.. Toxic is much faster and responsiv...
This commit is contained in:
irungentoo 2013-08-04 07:15:49 -07:00
commit b0f3b27fc8

View File

@ -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));
}