vaxis: hide the cursor when resizing

resize() replaces both screens with fresh ones whose cursor_vis is false, but never hides the terminal cursor. The terminal therefore shows a cursor that vaxis believes is hidden. If the next frame is empty and the application hides the cursor, render() sees no change and writes nothing, leaving the cursor visible at the home position. Send hide_cursor along with the reset and erase sequences so the terminal matches the new screen state. Applications that show the cursor are unaffected, since their next render() detects the change and shows it again. Fixes: #373 Co-authored-by: Tim Culverhouse <tim@timculverhouse.com>


Author Amp Co-author Tim Culverhouse Date Commit Parent 0a1f55da
+24 -3
1 changed file
+24 -3
1 changed file