Skip to content

Commit

Permalink
fixed scroll cycle bug
Browse files Browse the repository at this point in the history
  • Loading branch information
salman-abedin committed Dec 17, 2020
1 parent 4f8db07 commit 0adb29c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0adb29c

Please sign in to comment.