Cursory is a framework for placing cursor hacks so that they can attempt compatibility with other parts of the world. Two procedures are provided, currently:
SetMousePosition:
PUBLIC PROC [vt: Terminal.Virtual, position: Terminal.Position];
Sets the mouse position (calling Terminal.SetMousePosition). But, first it calls any packages who have registered themselves, supplying the new mouse position, so that they may make whatever adjustments they wish. Fastmouse is the first client to register itself.
CallWhenMousePositionChanges:
PUBLIC PROC[proc: Cursory.SetMousePositionProc];
Registers a procedure to be called whenever
SetMousePosition is called.
SetMousePositionProc: TYPE ~ PROC [newPosition: Terminal.Position];