JakeWharton / mosaic

Build terminal UI in Kotlin using Jetpack Compose
Apache License 2.0
1.82k stars 55 forks source link

Cursor hiding support #389

Open JakeWharton opened 1 month ago

JakeWharton commented 1 month ago

Funny enough I want this primarily for the recordings of our demos where it's distracting. Not sure I actually need it for anything. Although surely some users will want this.

The real question is what's the API for this? Presumably over time you might want to change the visibility depending on what the app is doing. What's an analogous thing in Android? Hiding the system UI?

EpicDima commented 4 weeks ago

I think you can try to turn off the cursor for the demo via input.sh where the first command will be ESC[?25l

https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797#common-private-modes

JakeWharton commented 4 weeks ago

True! A good workaround for now.