Fix for bug where first overflow line was getting overwritten.
modified: src/nms.c
This commit is contained in:
parent
5b1cf2c362
commit
26c2507189
@ -259,7 +259,7 @@ char nms_exec(NmsArgs *args) {
|
|||||||
attron(A_BOLD);
|
attron(A_BOLD);
|
||||||
if (has_colors())
|
if (has_colors())
|
||||||
attron(COLOR_PAIR(1));
|
attron(COLOR_PAIR(1));
|
||||||
prevRow = list_pointer->row;
|
prevRow = list_pointer->row - 1;
|
||||||
scroll(stdscr);
|
scroll(stdscr);
|
||||||
while (list_pointer != NULL) {
|
while (list_pointer != NULL) {
|
||||||
while (list_pointer->row > prevRow) {
|
while (list_pointer->row > prevRow) {
|
||||||
|
Loading…
Reference in New Issue
Block a user