mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[GH-ISSUE #35] Cursor doesn't reappear consistently #9
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fezproof on GitHub (Aug 18, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/35
Sometimes when quitting the examples, my cursor doesn't reappear in the terminal.
@kommander commented on GitHub (Aug 18, 2025):
Yeah I noticed that recently as well, some regression when I introduced split mode. I'll check.
@kommander commented on GitHub (Aug 19, 2025):
Latest changes on main should improve that. Let me know if still happens. EDIT: Still seems odd in Ghostty for some reason. Checking some more.
@kommander commented on GitHub (Aug 19, 2025):
Should be improved in the latest version.
@niicojs commented on GitHub (Aug 21, 2025):
In windows, the state after exit is odd too. Maybe we should do a clear screen after exit? Or should I do that userland?
@kommander commented on GitHub (Aug 23, 2025):
Yeah, it's unstable still. Exiting from alternate screen should be okay though, which is the default. Are you setting useAlternateScreen to false explicitly? Which terminal are you using? What is the weird state you get?
@niicojs commented on GitHub (Aug 24, 2025):
Thanks for the answer.
I'm using Windows Terminal (1.22.12111). I'm using powershell + starship but same thing happens with just powershell.
The state is that the screen displays the state before launching my app, but the cursor is at 0,0 thus I'm writing "on top" of the previous state.
I'm using opentui/react.
Edit: same thing with opentui/solid
@kommander commented on GitHub (Aug 24, 2025):
Ah thanks for the clarification. I think I can easily fix that in the shutdown sequence. I'll check.
@kommander commented on GitHub (Aug 24, 2025):
@niicojs could be fixed in v0.1.9 now. Let me know.
@niicojs commented on GitHub (Aug 25, 2025):
yes, fixed!
thanks
🚀
@kommander commented on GitHub (Aug 25, 2025):
I'll close this for now then, please open a new issue should it regress.