[READ-ONLY] Mirror of https://github.com/bombshell-dev/tty. Platform independent 2D layout engine for terminal applications based on Clay bomb.sh/docs/tty
Something went wrong. Try again.
fix(term): use bare set OSC 22 so pointer shapes work on Ghostty master
The tracker emitted the kitty push/pop stack form (ESC]22;>shape and ESC]22;<). Ghostty's OSC 22 parser treats the whole payload after "22;" as a literal shape name, so ">shape" is not a valid shape and is dropped — the pointer never changed on Ghostty (and any other set-only terminal). Switch to the portable bare set form: set the shape on enter (ESC]22;shape) and restore the base by setting "default" on leave. kitty and Ghostty both honor this. The trade-off is that we assume the base shape is "default" rather than restoring a non-default prior shape; the push/pop helpers remain exported for callers that target kitty and want exact save/restore.
Author Nate Moore Date (Jul 1, 2026, 8:09 PM UTC) Commit 4b618f30 4b618f306559900fca7cb7a253efc79d218699f2 Parent 472e78b7 472e78b7f7c62eb747a1cd9b1a1ea4aa46606df0