From 52d6e8431f57194b68a922ca048e83cd09c4613d Mon Sep 17 00:00:00 2001 From: Jfreegman Date: Sat, 29 Mar 2014 21:16:25 -0400 Subject: [PATCH] fix --- src/line_info.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/line_info.c b/src/line_info.c index e7d9e65..4909a73 100644 --- a/src/line_info.c +++ b/src/line_info.c @@ -201,6 +201,9 @@ void line_info_print(ToxWindow *self) int y2, x2; getmaxyx(self->window, y2, x2); + if (self->is_prompt) + y2 = MAX_HISTORY; /* temporary fix to make prompt scroll */ + if (x2 <= SIDEBAR_WIDTH) return;