mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #287] [MERGED] fix: iTerm2 cursor blinking issue #423
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#423
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?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/287
Author: @istarkov
Created: 11/9/2025
Status: ✅ Merged
Merged: 11/10/2025
Merged by: @kommander
Base:
main← Head:fix-iterm📝 Commits (1)
7a333d8Hide cursor📊 Changes
1 file changed (+24 additions, -2 deletions)
View changed files
📝
packages/core/src/zig/renderer.zig(+24 -2)📄 Description
Closes https://github.com/sst/opencode/issues/3780
This can be fixed either by enabling a checkbox in iTerm2 (see https://github.com/sst/opencode/issues/3780#issuecomment-3508037343) or by merging this PR, which prevents showing the cursor ANSI code on every render.
To reproduce, run the following in iTerm2:
Before PR
After PR
This is a really annoying issue in iTerm2.
On Mac, I've also tested this with WezTerm and VS Code Terminal. There is no issue on either, and I've verified that the PR works on both.
In iTerm2, I've also tested that the blinking cursor still works correctly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.