mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-24 20:45:56 +03:00
[GH-ISSUE #490] OpenCode in tmux starts with random hex codes and sometimes throws exception #126
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#126
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 @jtackaberry on GitHub (Jan 7, 2026).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/490
When I start opencode within tmux 3.6a, the prompt is initialized with random slash-delimited hex codes. Here are some example:
This part is probably a tmux bug because it doesn't occur with 3.5a or 3.4 (although who can know for sure -- this area is minefield of alchemy that few understand) and I'll report it there, but occasionally the slew of characters causes an exception with opencode:
The input I saw in the prompt box was:
7d7/cfcf9f9f/cfcfffff/ffff
Even assuming the root cause is a tmux issue, I suppose opentui should handle this more robustly.
@jtackaberry commented on GitHub (Jan 7, 2026):
I opened https://github.com/tmux/tmux/issues/4793 and it does appear to be a tmux issue, but again I think opentui could probably stand to be a bit more defensive to avoid the exception.