1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 09:33:01 +01:00
This commit is contained in:
Jfreegman 2014-03-29 21:16:25 -04:00
parent 1b89af9063
commit 52d6e8431f
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -201,6 +201,9 @@ void line_info_print(ToxWindow *self)
int y2, x2; int y2, x2;
getmaxyx(self->window, y2, x2); getmaxyx(self->window, y2, x2);
if (self->is_prompt)
y2 = MAX_HISTORY; /* temporary fix to make prompt scroll */
if (x2 <= SIDEBAR_WIDTH) if (x2 <= SIDEBAR_WIDTH)
return; return;