diff options
author | Timo Sirainen <cras@irssi.org> | 2002-02-17 15:42:07 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-02-17 15:42:07 +0000 |
commit | a6d61a0b2b910983b1e89f29d6a216e66aa602fc (patch) | |
tree | 6b140a559f4be9cfdea024e73824ec1b6e3f9a6a /src/fe-text/term-curses.c | |
parent | 5e87f04a466dbc6961f7566860a415ef203835b6 (diff) | |
download | irssi-a6d61a0b2b910983b1e89f29d6a216e66aa602fc.zip |
--disable-terminfo didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2502 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/term-curses.c')
-rw-r--r-- | src/fe-text/term-curses.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/fe-text/term-curses.c b/src/fe-text/term-curses.c index 69e2b922..63db46e5 100644 --- a/src/fe-text/term-curses.c +++ b/src/fe-text/term-curses.c @@ -51,7 +51,6 @@ struct _TERM_WINDOW { }; TERM_WINDOW *root_window; -int term_width, term_height; static int curs_x, curs_y; static int freeze_refresh; @@ -314,6 +313,11 @@ void term_addch(TERM_WINDOW *window, int chr) waddch(window->win, chr); } +void term_add_unichar(TERM_WINDOW *window, unichar chr) +{ + waddch(window->win, chr); +} + void term_addstr(TERM_WINDOW *window, const char *str) { waddstr(window->win, (const char *) str); @@ -363,7 +367,15 @@ void term_stop(void) irssi_redraw(); } -int term_gets(unsigned char *buffer, int size) +void term_auto_detach(int set) +{ +} + +void term_set_input_type(int type) +{ +} + +int term_gets(unichar *buffer, int size) { int key, count; |