From 0adb29c4c611b2d42a2b9e43f8ceb3dd59c2817b Mon Sep 17 00:00:00 2001 From: salman-abedin Date: Thu, 17 Dec 2020 10:14:53 +0600 Subject: [PATCH] fixed scroll cycle bug --- src/ui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui.c b/src/ui.c index 23b1139..724a6d2 100644 --- a/src/ui.c +++ b/src/ui.c @@ -124,9 +124,9 @@ void* handle_input() { if (mark > 0) { --mark; } else { - end = count; start = count > LINES - 6 ? count - LINES + 6 : 0; - /* mark = count > LINES - 6 ? LINES - 6 : count; */ + end = count; + mark = LINES - 7; } } } else if (key == TOR_START) {