1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

--disable-terminfo didn't work

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2502 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-02-17 15:42:07 +00:00 committed by cras
parent 5e87f04a46
commit a6d61a0b2b
3 changed files with 16 additions and 3 deletions

View File

@ -51,7 +51,6 @@ struct _TERM_WINDOW {
}; };
TERM_WINDOW *root_window; TERM_WINDOW *root_window;
int term_width, term_height;
static int curs_x, curs_y; static int curs_x, curs_y;
static int freeze_refresh; static int freeze_refresh;
@ -314,6 +313,11 @@ void term_addch(TERM_WINDOW *window, int chr)
waddch(window->win, 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) void term_addstr(TERM_WINDOW *window, const char *str)
{ {
waddstr(window->win, (const char *) str); waddstr(window->win, (const char *) str);
@ -363,7 +367,15 @@ void term_stop(void)
irssi_redraw(); 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; int key, count;

View File

@ -42,7 +42,6 @@ struct _TERM_WINDOW {
}; };
TERM_WINDOW *root_window; TERM_WINDOW *root_window;
int term_width, term_height, term_detached;
static char *term_lines_empty; /* 1 if line is entirely empty */ static char *term_lines_empty; /* 1 if line is entirely empty */
static int vcmove, vcx, vcy, curs_visible; static int vcmove, vcx, vcy, curs_visible;

View File

@ -39,6 +39,8 @@
#define MIN_SCREEN_WIDTH 20 #define MIN_SCREEN_WIDTH 20
int term_width, term_height, term_detached;
int term_use_colors; int term_use_colors;
int term_type; int term_type;