mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 05:45:49 +03:00
[GH-ISSUE #1089] Underline not working #792
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#792
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 @creack on GitHub (Apr 19, 2025).
Original GitHub issue: https://github.com/rivo/tview/issues/1089
Hello,
I tried the example from the docs
[yellow::u]Yellow text underlined, it shows yellow but no underline.Other modifiers like bold/dim work fine.
I also tried directly on tcell, and it works.
Any idea?
@rivo commented on GitHub (May 1, 2025):
Can you please post a code example, along with a screenshot? It works fine for me:
(This is iTerm2 on macOS.)
@creack commented on GitHub (May 1, 2025):
That snippet doesn't work with the default apple terminal nor ghostty.
github.com/gdamore/tcell/v2@v2.8.1
github.com/rivo/tview@v0.0.0-20250501113434-0c592cd31026
Using this code though works:
@marc-watters commented on GitHub (May 7, 2025):
I'm experiencing the same. It is related to https://github.com/gdamore/tcell. It breaks at commit 9bc5c63.
@rivo commented on GitHub (Aug 27, 2025):
The latest commit switches to
tcell's new handling of the underline attribute. Can you please check if this resolves your issue and close it if it does?@creack commented on GitHub (Aug 29, 2025):
Confirmed, it works with the latest version. Thank you.