Replies: 1 comment
-
Hey! This sounds it may be a bug. Two questions:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I am creating a textinput using Bubble Tea and testing it in macOS's default zsh terminal as well as in tmux. In tmux, the cursor does not display at all. The same behavior is observed in the Putty terminal on Windows.
The textinput on a mac terminal (the cursor is blinking):


the textinput on tmux (cursor doesn't show):
Looked the cursor source code (chambracelet > bubbles > cursor > cursor.go) and in the view function, I think maybe the Reverse style is not being applied correctly? Because If i replace it with "Reverse" and "Reset" ANSI esc codes, it displays the cursor correctly on tmux as well:
ORIGINAL CODE
After editing and replacing the line m.Style.Inline(true).Reverse(true).Render(m.char) directly with ANSI codes.
Is this expected behavior or a bug? I know we can set the xterm256color in tmux that will enable colors but would prefer if this works or is fixed if it is a bug.
Beta Was this translation helpful? Give feedback.
All reactions