Fork of lines.love without drawings; useful starting point for further forks

some temporary logging to track down a bug

scenario 1:

  • grab a note
  • edit a note
  • try moving the cursor around focus has a tendency to leave the pane and move to a different pane

scenario 2 (today):

  • grab a note
  • edit a note can't type into note being edited. Can still click to move the cursor around. Arrow keys move the whole surface as if the pane is not editable. This continues after multiple C-e's that are resetting and setting the 'edit' bit. 'F4' fixes the problem.

What might cause surface to pan even when a pane is editable? If cursor_x is nil. But if the cursor is being drawn, cursor_x can't be nil it seems.

Created by  akkartik  on September 10, 2025
5C5YG7ERUYCCQ7H66Z3SBRSHBVWGNN3USK5A37IKAJFYM2VRV4HQC
Change contents