Replaced all direct curses calls with screen_xx() wrappers. This should

enable us to optionally use termcap directly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1535 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-06-01 21:49:07 +00:00 committed by cras
commit 05777636a7
13 changed files with 238 additions and 132 deletions

View file

@ -313,12 +313,9 @@ void readline(void)
int key;
for (;;) {
key = getch();
if (key == ERR
#ifdef KEY_RESIZE
|| key == KEY_RESIZE
#endif
) break;
key = screen_getch();
if (key == -1)
break;
handle_key(key);
}