diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-12-08 14:30:32 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-12-08 14:30:32 +0100 |
commit | fb16fbafaadcd6bc0a8fbde20c8434a69bef0f10 (patch) | |
tree | 0687196922d2428cc98b0cb303462b8b8989f18e /osd.c | |
parent | a40c8b8a98ed026b27f18a5e6c6f8bfae5f6068b (diff) | |
download | vdr-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.c | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -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 |