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

tabline_z empty in config but flashing workspace name #36

Open
jamesredwards opened this issue Oct 5, 2024 · 2 comments
Open

tabline_z empty in config but flashing workspace name #36

jamesredwards opened this issue Oct 5, 2024 · 2 comments

Comments

@jamesredwards
Copy link

Have overridden the default config to use tabline_z = {} but it flashes the current workspace name on and off very quickly (assume in line with the status update in the default config). if i change this to 'datetime' or something else it does the same. can't seem to fix. any advice?

@michaelbrusegard
Copy link
Owner

I am unable to reproduce this. Are you on the latest version of the plugin?

This is my config, but with tabline_z = {} and it seems to work:

  tabline.setup({
    options = {
      theme = 'Catppuccin Mocha',
      section_separators = {
        left = wezterm.nerdfonts.ple_right_half_circle_thick,
        right = wezterm.nerdfonts.ple_left_half_circle_thick,
      },
      component_separators = {
        left = wezterm.nerdfonts.ple_right_half_circle_thin,
        right = wezterm.nerdfonts.ple_left_half_circle_thin,
      },
      tab_separators = {
        left = wezterm.nerdfonts.ple_right_half_circle_thick,
        right = wezterm.nerdfonts.ple_left_half_circle_thick,
      },
    },
    sections = {
      tabline_a = {
        { 'mode', fmt = string.lower },
      },
      tab_active = {
        { Attribute = { Intensity = 'Bold' } },
        { Foreground = { Color = colors.ansi[6] } },
        'index',
        'ResetAttributes',
        { Foreground = { Color = colors.foreground } },
        { 'parent', padding = 0 },
        '/',
        { Attribute = { Intensity = 'Bold' } },
        { 'cwd', padding = { left = 0, right = 1 } },
        { 'zoomed', padding = 0 },
      },
      tab_inactive = { 'index', { 'process', icons_only = true, padding = 0 } },
      tabline_x = {},
      tabline_y = { 'ram', 'cpu' },
      tabline_z = {},
    },
    extensions = {
      'resurrect',
      'smart_workspace_switcher',
      'quick_domains',
      'presentation',
    },
  })

@jamesredwards
Copy link
Author

Hi thanks for response. yes using most recent version. have changed the status_update_interval to 50000 to stop it annoying me for now. will do some more investigation

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