version 1.20, 2011/05/20 19:03:58 |
version 1.21, 2011/05/20 19:17:39 |
|
|
else |
else |
s->title = xstrdup(""); |
s->title = xstrdup(""); |
|
|
|
s->cstyle = 0; |
s->ccolour = xstrdup(""); |
s->ccolour = xstrdup(""); |
s->tabs = NULL; |
s->tabs = NULL; |
|
|
|
|
fatal("bit_alloc failed"); |
fatal("bit_alloc failed"); |
for (i = 8; i < screen_size_x(s); i += 8) |
for (i = 8; i < screen_size_x(s); i += 8) |
bit_set(s->tabs, i); |
bit_set(s->tabs, i); |
|
} |
|
|
|
/* Set screen cursor style. */ |
|
void |
|
screen_set_cursor_style(struct screen *s, u_int style) |
|
{ |
|
if (style <= 4) |
|
s->cstyle = style; |
} |
} |
|
|
/* Set screen cursor colour. */ |
/* Set screen cursor colour. */ |