version 1.45, 2016/11/24 13:38:44 |
version 1.46, 2017/02/08 16:45:18 |
|
|
s->ccolour = xstrdup(""); |
s->ccolour = xstrdup(""); |
s->tabs = NULL; |
s->tabs = NULL; |
|
|
s->dirty = NULL; |
|
s->dirtysize = 0; |
|
|
|
screen_reinit(s); |
screen_reinit(s); |
} |
} |
|
|
|
|
void |
void |
screen_free(struct screen *s) |
screen_free(struct screen *s) |
{ |
{ |
free(s->dirty); |
|
free(s->tabs); |
free(s->tabs); |
free(s->title); |
free(s->title); |
free(s->ccolour); |
free(s->ccolour); |
|
|
xx = sel->sx - 1; |
xx = sel->sx - 1; |
else |
else |
xx = sel->sx; |
xx = sel->sx; |
if (py == sel->sy && px > xx) |
if (py == sel->sy && (sel->sx == 0 || px > xx)) |
return (0); |
return (0); |
} else { |
} else { |
/* starting line == ending line. */ |
/* starting line == ending line. */ |