mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-04 06:36:46 +02:00
fix scrolling bug
This commit is contained in:
@ -271,8 +271,10 @@ static void prompt_onDraw(ToxWindow *self, Tox *m)
|
||||
getyx(ctx->history, y, x);
|
||||
getmaxyx(ctx->history, y2, x2);
|
||||
|
||||
if (!ctx->hst->scroll_mode)
|
||||
if (!ctx->hst->scroll_mode) {
|
||||
curs_set(1);
|
||||
scrollok(ctx->history, 1);
|
||||
}
|
||||
|
||||
line_info_print(self);
|
||||
|
||||
|
Reference in New Issue
Block a user