Skip to content

Tabs example has inconsistent tab spacing #1504

@jamietanna

Description

@jamietanna

Describe the bug

The example tabs 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

Image

Additional context

It seems likely that it's a "me" problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions