version 1.76, 2021/10/05 12:46:02 |
version 1.77, 2021/11/01 09:34:49 |
|
|
s->path = NULL; |
s->path = NULL; |
|
|
s->cstyle = SCREEN_CURSOR_DEFAULT; |
s->cstyle = SCREEN_CURSOR_DEFAULT; |
s->ccolour = xstrdup(""); |
s->ccolour = -1; |
|
s->default_ccolour = -1; |
s->tabs = NULL; |
s->tabs = NULL; |
s->sel = NULL; |
s->sel = NULL; |
|
|
|
|
free(s->tabs); |
free(s->tabs); |
free(s->path); |
free(s->path); |
free(s->title); |
free(s->title); |
free(s->ccolour); |
|
|
|
if (s->write_list != NULL) |
if (s->write_list != NULL) |
screen_write_free_list(s); |
screen_write_free_list(s); |
|
|
|
|
/* Set screen cursor colour. */ |
/* Set screen cursor colour. */ |
void |
void |
screen_set_cursor_colour(struct screen *s, const char *colour) |
screen_set_cursor_colour(struct screen *s, int colour) |
{ |
{ |
free(s->ccolour); |
s->ccolour = colour; |
s->ccolour = xstrdup(colour); |
|
} |
} |
|
|
/* Set screen title. */ |
/* Set screen title. */ |