};
TERM_WINDOW *root_window;
-int term_width, term_height;
static int curs_x, curs_y;
static int freeze_refresh;
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);
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;