Something went wrong. Try again.
Something went wrong. Try again.
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 (Oct 21, 2026, 12:44 PM UTC) Commit
Copy SHA
Parent 0a1f55da 0a1f55da77dcf99d638cf409b0c439e1542996d5