DFillmore / viola

Viola is a Z-Machine Interpreter written in Python.
19 stars 2 forks source link

Lost Pig help menu cursor disappears #72

Closed DFillmore closed 10 months ago

DFillmore commented 5 years ago

In the help menu for Lost Pig, the cursor disappears when moving it to the third subject or below.

DFillmore commented 10 months ago

This appears to be because Lost Pig is trying to print outside the bounds of the upper window. The menu options print correctly, despite being below the window, but the cursor does not. This is technically a bug in Lost Pig, not Viola, although it does reveal some inconsistent behaviour in Viola when printing outside a window's bounds.

DFillmore commented 10 months ago

As per the notes of the Z-Machine Standard, set_cursor now performs an implicit split_window if the cursor is moved outside the bounds of window 1, except in version 6.