Fix missed keystrokes (imported patch from Debian).

This commit is contained in:
mmdolze
2011-10-23 08:23:47 +00:00
parent 72dff35234
commit 869559f1fe
2 changed files with 4 additions and 2 deletions
+1
View File
@@ -8,6 +8,7 @@ Key:
v0.5dev (ongoing development)
- Remove deprecated CFontz633 driver. Use CFontzPacket with Model=633 instead!
+ new driver: glcd unified graphic display driver (M. Dolze)
* curses: Fix missed keystrokes (from Debian)
v0.5.5
+ sed1330 driver: Add support for HG25504 (L. Lagendijk)
+3 -2
View File
@@ -606,11 +606,12 @@ curses_flush (Driver *drvthis)
PrivateData *p = drvthis->private_data;
int c;
if ((c = getch()) != ERR)
if ((c = getch()) != ERR) {
if (c == 0x0C) { /* ^L restores screen */
curses_restore_screen(drvthis);
ungetch(c);
}
ungetch(c);
}
if (p->drawBorder)
curses_wborder(drvthis);