The position bars shown by curses when the map is clipped weren't being drawn as intended (integer arithmetic). Changing parentheses was enough to get it working, but it didn't handle the edge case where non-zero got rounded to 0 (so when map was panned down, the uppermost character of the vertical position bar still showed '*', falsely indicating that top of map was currently within view.
12 KiB
12 KiB