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

Missing window sections #67

Open
timvancann opened this issue Feb 24, 2025 · 5 comments
Open

Missing window sections #67

timvancann opened this issue Feb 24, 2025 · 5 comments

Comments

@timvancann
Copy link

For some reason none of the window sections show up, only the tab section. I use the default setup with

local tabline = wezterm.plugin.require("https://github.com/michaelbrusegard/tabline.wez")

Fancy tabs are disabled.

Any idea what could be causing? Am I missing something trivial?

@michaelbrusegard
Copy link
Owner

Have you called the setup() function?

@timvancann
Copy link
Author

Apologies, should've mentioned that. Yes, I have.

tabline.setup()
tabline.apply_to_config(config)

I've also attempted a version to modify the active tab, which works really well. It's just the window sections that don't show up.

tabline.setup({
  sections = {
    tab_active = {
      "index",
      { "parent", padding = 0 },
      "/",
      { "cwd", padding = { left = 0, right = 1 }, max_length = 15 },
      { "zoomed", padding = 0 },
    },
  },
})
tabline.apply_to_config(config)

@michaelbrusegard
Copy link
Owner

I just tested and it works fine for me. Which operating system are you on? Also maybe other parts of your configuration is causing issues, you can try a minimal config with only tabline and basic options

@timvancann
Copy link
Author

I'm on mac Sonoma and wezterm 20240203-110809-5046fc22. I've tried a minimal example, to no avail :(.

local wezterm = require("wezterm")
local config = wezterm.config_builder()

local tabline = wezterm.plugin.require("https://github.com/michaelbrusegard/tabline.wez")

tabline.setup()
tabline.apply_to_config(config)

return config

It's a mystery to me.

@michaelbrusegard
Copy link
Owner

That exact config works for me on macOS Sequoia with the latest version of WezTerm. If you open the WezTerm logs do you see any errors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants