commit 24baa5041a4ac42c1274be44435d328d22d1f24d
Author: rani <clagv.randomgames@gmail.com>
Date: Sat Jan 28 21:43:02 2023 +0000
diff --git a/src/io.c b/src/io.c
index 81f7a33..5c99369 100644
--- a/src/io.c
+++ b/src/io.c
@@ -8557 +8557 @@ void page_info(void) {
while (!done) {
erase();
- for (size_t i = first_info; i < last_info; i++) {
+ for (size_t i = first_info; i <= last_info; i++) {
int cp = get_info_color(info_buffer.i[i]);
attron(cp);
addstr(info_buffer.i[i]->msg);
@@ -8647 +8647 @@ void page_info(void) {
}
printw("LINES %lu-%lu/%lu, q to close\n",
- first_info + 1, last_info, info_buffer.n);
+ first_info + 1, last_info + 1, info_buffer.n);
refresh();