aboutsummaryrefslogtreecommitdiff
path: root/tsalis
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2024-02-29 01:50:44 +0100
committerPaul Oliver <contact@pauloliver.dev>2024-02-29 01:50:44 +0100
commit07cb990645680f95c63526390c24c843cf7e9463 (patch)
tree55d29d11b4bd765c1ca197000a031d866602d7ef /tsalis
parentdb636ca682d6f424dc7926507013abcbce7f37bc (diff)
Fixed bug on panning command.
Diffstat (limited to 'tsalis')
-rw-r--r--tsalis/src/printer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tsalis/src/printer.c b/tsalis/src/printer.c
index 469b803..92cbcd9 100644
--- a/tsalis/src/printer.c
+++ b/tsalis/src/printer.c
@@ -156,6 +156,8 @@ tsp_scrollUp(void)
case PAGE_WORLD:
if (g_worldPos >= g_worldLineCoverage) {
g_worldPos -= g_worldLineCoverage;
+ } else {
+ g_worldPos = 0;
}
break;