diff --git a/src/conference.c b/src/conference.c index 6ba3dd38d..0dc13909c 100644 --- a/src/conference.c +++ b/src/conference.c @@ -1160,6 +1160,12 @@ static void conference_onDraw(ToxWindow *self, Toxic *toxic) curs_set(1); + if (self->x != x2 && !self->scroll_pause) { + line_info_reset_start(self, ctx->hst); + } + + self->x = x2; + if (ctx->len > 0) { mvwprintw(ctx->linewin, 0, 0, "%ls", &ctx->line[ctx->start]); } diff --git a/src/groupchats.c b/src/groupchats.c index 1166b3069..cd5d74370 100644 --- a/src/groupchats.c +++ b/src/groupchats.c @@ -2118,6 +2118,10 @@ static void groupchat_onDraw(ToxWindow *self, Toxic *toxic) if (self->x != x2) { groupchat_update_statusbar_topic(self, toxic->tox); + + if (!self->scroll_pause) { + line_info_reset_start(self, ctx->hst); + } } draw_groupchat_top_bar(self, toxic, x2);