Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Built-in tab-bar flickers on creating a new tab #4466

@dzhlobo

Description

@dzhlobo

Issue description

When I create a new tab, I can see that the tab bar is flickering.

As I understand, Zellij loads and initializes the tab plugin every time a new tab is created, and that causes the flickering. For a brief moment when plugin is being loaded, Zellij shows a loading indicator, which shows:

Cloning for other clients ... SUCCESS

I recorded a video:

Screen.Recording.2025-10-09.at.15.06.00.mov

For a very brief moment (one frame in video) I can see:
Image

Here's a similar issue with zjstatus plugin: #3082

Can we do something to make it not flicker or at least to be less visible?

  1. I think if we don't show a loading indicator (as @imsnif suggested in Flash of text when creating tabs with a status bar plugin #3082) it would already look slightly better.
  2. Would it be possible to keep the old content of a pane until plugin is initialized and only then make the redraw?

Minimal reproduction

I use default config with very small changes:

166c166
<         bind "Ctrl b" { SwitchToMode "tmux"; }
---
>         bind "Alt a" { SwitchToMode "tmux"; }
235a236
>         bind "x" { CloseTab; SwitchToMode "normal"; }
330c331
< // pane_frames false
---
> pane_frames false

zellij 0.43.1

Other relevant information

I use Ghostty on M2 Max macbook.

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