version 1.72, 2009/11/26 14:46:08 |
version 1.73, 2009/11/26 21:37:13 |
|
|
|
|
void tty_colours(struct tty *, const struct grid_cell *, int *); |
void tty_colours(struct tty *, const struct grid_cell *, int *); |
void tty_colours_fg(struct tty *, const struct grid_cell *, int *); |
void tty_colours_fg(struct tty *, const struct grid_cell *, int *); |
void tty_colours_bg(struct tty *, const struct grid_cell *, int *); |
void tty_colours_bg(struct tty *, const struct grid_cell *); |
|
|
void tty_redraw_region(struct tty *, const struct tty_ctx *); |
void tty_redraw_region(struct tty *, const struct tty_ctx *); |
void tty_emulate_repeat( |
void tty_emulate_repeat( |
|
|
return (0); |
return (0); |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
tty_read_callback(unused struct bufferevent *bufev, void *data) |
tty_read_callback(unused struct bufferevent *bufev, void *data) |
{ |
{ |
|
|
; |
; |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
tty_error_callback( |
tty_error_callback( |
unused struct bufferevent *bufev, unused short what, unused void *data) |
unused struct bufferevent *bufev, unused short what, unused void *data) |
|
|
*/ |
*/ |
if (!bg_default && (bg != tc->bg || |
if (!bg_default && (bg != tc->bg || |
((flags & GRID_FLAG_BG256) != (tc->flags & GRID_FLAG_BG256)))) |
((flags & GRID_FLAG_BG256) != (tc->flags & GRID_FLAG_BG256)))) |
tty_colours_bg(tty, gc, attr); |
tty_colours_bg(tty, gc); |
} |
} |
|
|
void |
void |
|
|
} |
} |
|
|
void |
void |
tty_colours_bg(struct tty *tty, const struct grid_cell *gc, unused int *attr) |
tty_colours_bg(struct tty *tty, const struct grid_cell *gc) |
{ |
{ |
struct grid_cell *tc = &tty->cell; |
struct grid_cell *tc = &tty->cell; |
u_char bg = gc->bg; |
u_char bg = gc->bg; |