diff options
author | Paul Oliver <contact@pauloliver.dev> | 2024-02-29 01:50:44 +0100 |
---|---|---|
committer | Paul Oliver <contact@pauloliver.dev> | 2024-02-29 01:50:44 +0100 |
commit | 07cb990645680f95c63526390c24c843cf7e9463 (patch) | |
tree | 55d29d11b4bd765c1ca197000a031d866602d7ef | |
parent | db636ca682d6f424dc7926507013abcbce7f37bc (diff) |
Fixed bug on panning command.
-rw-r--r-- | tsalis/src/printer.c | 2 |
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; |