summaryrefslogtreecommitdiff
path: root/osd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-12-08 14:30:32 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-12-08 14:30:32 +0100
commitfb16fbafaadcd6bc0a8fbde20c8434a69bef0f10 (patch)
tree0687196922d2428cc98b0cb303462b8b8989f18e /osd.c
parenta40c8b8a98ed026b27f18a5e6c6f8bfae5f6068b (diff)
downloadvdr-fb16fbafaadcd6bc0a8fbde20c8434a69bef0f10.tar.gz
vdr-fb16fbafaadcd6bc0a8fbde20c8434a69bef0f10.tar.bz2
KBD active by default; no more 'ncurses' necessary for KBD1.1.19
Diffstat (limited to 'osd.c')
-rw-r--r--osd.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/osd.c b/osd.c
index eb0d2dc5..76229556 100644
--- a/osd.c
+++ b/osd.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osd.c 1.38 2002/11/16 14:20:26 kls Exp $
+ * $Id: osd.c 1.39 2002/12/08 13:17:13 kls Exp $
*/
#include "osd.h"
@@ -26,15 +26,8 @@
void cOsd::Initialize(void)
{
-#if defined(DEBUG_OSD) || defined(REMOTE_KBD)
- initscr();
- keypad(stdscr, true);
- nonl();
- cbreak();
- noecho();
- timeout(10);
-#endif
#if defined(DEBUG_OSD)
+ initscr();
start_color();
leaveok(stdscr, true);
#endif
@@ -43,7 +36,7 @@ void cOsd::Initialize(void)
void cOsd::Shutdown(void)
{
Close();
-#if defined(DEBUG_OSD) || defined(REMOTE_KBD)
+#if defined(DEBUG_OSD)
endwin();
#endif
}
@@ -150,6 +143,7 @@ void cOsd::Clear(void)
#ifdef DEBUG_OSD
SetColor(clrBackground, clrBackground);
Fill(0, 0, cols, rows, clrBackground);
+ refresh();
#else
osd->Clear();
#endif