tFix for an infinite loop bug when hitting 'Ctrl-L' to redraw the screen. - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 0e0565d306f88f70f9f35f02edec4911d4ffcacf
(DIR) parent 53f0a86cc9127b029d4d1933d4db6db256262d7e
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Mon, 25 Oct 2004 06:36:00 +0000
Fix for an infinite loop bug when hitting 'Ctrl-L' to redraw the screen.
Diffstat:
M src/cursesport/cursesport.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/src/cursesport/cursesport.c b/src/cursesport/cursesport.c
t@@ -261,6 +261,7 @@ int bgetch()
c = getch();
while (c == '\f') {
wrefresh(curscr);
+ c = getch();
}
return c;
}