charmbracelet / charmbracelet/bubbles
How to define the color of a specified cell in a table
- Dominant language
- Go
- Stars
- 8.9k
- Forks
- 457
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 5
Description
**Describe the bug**
When I specified the color of cell text,I got a unexpected table style, cell text disappear
**Setup**
Please complete the following information along with version numbers, if applicable.
- OS [ macOS]
- Shell [ zsh]
- Terminal Emulator [ iterm]
- Terminal Multiplexer [tmux]
- Locale [ zh_CN.UTF-8.]
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Source Code**
```golang
acceptMsg := lipgloss.NewStyle().Inline(true).Foreground(lipgloss.Color("#BBFFFF")).Render("Accept")
rows = append(rows, table.Row{pr.Title, pr.Number, pr.Creator.Name, acceptMsg, conflictMsg, mergeCheckMsg})
```
**Expected behavior**
AcceptMsg display with color and table style is correct.
**Screenshots**
Accept disappeared !
**Additional context**
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.