mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
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:
parent
6f5c1117de
commit
05777636a7
13 changed files with 238 additions and 132 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue