Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tab_bar_style not applied #5219

Open
Bios-Marcel opened this issue Mar 26, 2024 · 1 comment · May be fixed by #5229
Open

tab_bar_style not applied #5219

Bios-Marcel opened this issue Mar 26, 2024 · 1 comment · May be fixed by #5229
Labels
bug Something isn't working

Comments

@Bios-Marcel
Copy link

What Operating System(s) are you seeing this problem on?

Linux Wayland

Which Wayland compositor or X11 Window manager(s) are you using?

sway

WezTerm version

wezterm 20240203-110809-5046fc22

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

The tab_bar_style isn't being applied, other things such as background color and font do work though.

The nightly version shows different behaviour:

Configuration Error: `active_tab_left` is not a valid TabBarStyle field.  There are too many alternatives to list here; consult the documentation!
`active_tab_right` is not a valid TabBarStyle field.  There are too many alternatives to list here; consult the documentation!
`inactive_tab_left` is not a valid TabBarStyle field.  There are too many alternatives to list here; consult the documentation!
`inactive_tab_right` is not a valid TabBarStyle field ...

To Reproduce

No response

Configuration

I have mostly used the config from the example in the docs:

    tab_bar_at_bottom = true,
    use_fancy_tab_bar = false,
    tab_max_width = 32,
    tab_bar_style = {
        active_tab_left = wezterm.format {
            { Background = { Color = '#0b0022' } },
            { Foreground = { Color = '#2b2042' } },
            { Text = SOLID_LEFT_ARROW },
        },
        active_tab_right = wezterm.format {
            { Background = { Color = '#0b0022' } },
            { Foreground = { Color = '#2b2042' } },
            { Text = SOLID_RIGHT_ARROW },
        },
        inactive_tab_left = wezterm.format {
            { Background = { Color = '#0b0022' } },
            { Foreground = { Color = '#1b1032' } },
            { Text = SOLID_LEFT_ARROW },
        },
        inactive_tab_right = wezterm.format {
            { Background = { Color = '#0b0022' } },
            { Foreground = { Color = '#1b1032' } },
            { Text = SOLID_RIGHT_ARROW },
        },
    },

Expected Behavior

No response

Logs

I can't see any logfiles or any output in the debug view.

Anything else?

No response

@Bios-Marcel Bios-Marcel added the bug Something isn't working label Mar 26, 2024
@saep saep linked a pull request Mar 28, 2024 that will close this issue
@saep
Copy link

saep commented Mar 28, 2024

@Bios-Marcel The example from the docs is for an old version. Since I stumbled upon the same problem, I've created a pull request #5229 with an updated example that is equivalent to the existing example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants