charmbracelet / charmbracelet/bubbletea
Tabs example has inconsistent tab spacing
- Dominant language
- Go
- Stars
- 44.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
The example [tabs](https://github.com/charmbracelet/bubbletea/blob/e5fb1b8ff58ea4fc17c48c91c800d48046336e26/examples/tabs/main.go) does not render correctly.
**Setup**
Please complete the following information along with version numbers, if applicable.
- OS: Mac OS Tahoe (26.0)
- Shell: `zsh`
- Terminal Emulator: `ghostty`, `Terminal.app`
- Terminal Multiplexer: (seen happening in and out of `tmux`)
**To Reproduce**
Steps to reproduce the behavior:
1. Go to https://github.com/charmbracelet/bubbletea/blob/e5fb1b8ff58ea4fc17c48c91c800d48046336e26/examples/tabs/main.go
2. Run with `go run .`
3. Notice behaviour on tab spacing
**Source Code**
https://github.com/charmbracelet/bubbletea/blob/e5fb1b8ff58ea4fc17c48c91c800d48046336e26/examples/tabs/main.go
**Expected behavior**
Tabs are spaced correctly
**Screenshots**
**Additional context**
It seems likely that it's a "me" problem.
Contributor guide
Research direction
Start by opening examples/tabs/main.go at the referenced revision and run it with `go run .` to reproduce the tab-spacing behavior. Compare the rendered output with the attached screenshot and verify that the tab labels are consistently spaced when the issue is fixed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100