little tool for tournament cross-tables

bugfix: ensure Cursor_line is always on a text line

Manual test used here:

abc

{"p1":{"y":72,"x":82},"mode":"line","p2":{"y":29,"x":169}}

def

{"p1":{"y":36,"x":56},"mode":"line","p2":{"y":59,"x":163}}

ghi jkl

Hitting page-down moves the cursor from abc to ghi. The 'ghi' line should be fully visible on screen.

Created by  Kartik K. Agaram  on May 18, 2022
242L3OQXTU2TCAINRJXQEEDSXQXM7Y7USUPBK37ZNM3A7V5TUDSAC
Change contents