tFix for an infinite loop bug when hitting 'Ctrl-L' to redraw the screen. - vac… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 0e0565d306f88f70f9f35f02edec4911d4ffcacf | |
parent 53f0a86cc9127b029d4d1933d4db6db256262d7e | |
Author: Ben Webb <[email protected]> | |
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(-) | |
--- | |
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; | |
} |