Compare commits
1 Commits
b54b64b223
...
3f6b8f69fd
| Author | SHA1 | Date | |
|---|---|---|---|
|
3f6b8f69fd
|
@@ -2175,7 +2175,7 @@ win_redraw(ProfWin* window)
|
||||
// size the pad to fit the whole buffer (plus headroom) and erase it
|
||||
int cols = getmaxx(window->layout->win);
|
||||
int needed = window->layout->buffer->lines + 100;
|
||||
wresize(window->layout->win, needed > PAD_MIN_HEIGHT ? needed : PAD_MIN_HEIGHT, cols);
|
||||
wresize(window->layout->win, MAX(needed, PAD_MIN_HEIGHT), cols);
|
||||
werase(window->layout->win);
|
||||
|
||||
for (unsigned int i = 0; i < size; i++) {
|
||||
|
||||
Reference in New Issue
Block a user