Mercurial > hg > nnchat
comparison nnchat.c @ 319:b9127815c9aa
Oops, updateMain was set to TRUE by default, causing excessive window refreshing. Fixed.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 11 Jun 2011 06:41:37 +0300 |
parents | 4acfcca39105 |
children | 42ddc8bda6a9 |
comparison
equal
deleted
inserted
replaced
318:4acfcca39105 | 319:b9127815c9aa |
---|---|
1497 isError = TRUE; | 1497 isError = TRUE; |
1498 | 1498 |
1499 /* Handle user input */ | 1499 /* Handle user input */ |
1500 if (cursesInit) { | 1500 if (cursesInit) { |
1501 int c, cnt = 0; | 1501 int c, cnt = 0; |
1502 BOOL update = FALSE, updateMain = TRUE; | 1502 BOOL update = FALSE, updateMain = FALSE; |
1503 | 1503 |
1504 /* Handle several buffered keypresses at once */ | 1504 /* Handle several buffered keypresses at once */ |
1505 do { | 1505 do { |
1506 c = wgetch(stdscr); | 1506 c = wgetch(stdscr); |
1507 if (c == 0x1b) { | 1507 if (c == 0x1b) { |