mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 09:33:01 +01:00
fix
This commit is contained in:
parent
1b89af9063
commit
52d6e8431f
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user