zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
21.44k stars 651 forks source link

Having multiple sets of stacked panes in a tab causes display issues #2777

Open bzvestey opened 1 year ago

bzvestey commented 1 year ago

Basic information

zellij --version: 0.38.1 stty size: 96 100 uname -av or ver(Windows): Darwin MacBook-Pro 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000 arm64

Programs: zsh 5.9 (arm-apple-darwin21.3.0) iterm2 3.4.20

Further information

Given the below layout that has a tab with two different panes at the same level that are stacked, there are graphical issues with the tab and all stacked panes are joined together.

layout {
  default_tab_template {
    pane size=1 borderless=true {
        plugin location="zellij:tab-bar"
    }
    children
    pane size=2 borderless=true {
        plugin location="zellij:status-bar"
    }
  }

  tab focus=true name="example" {
    pane stacked=true {
      pane {
        args "run" "start"
        command "npm"
        cwd "./client"
        name "Cleint Build"
        start_suspended true
      }
      pane {
        cwd "./client"
        name "Client Shell"
      }
    }

    pane stacked=true {
      pane {
        args "logs" "-f" "--cluster" "docker-desktop" "-n" "dev" "deployment/api"
        command "kubectl"
        name "API Logs"
        start_suspended true
      }
      pane {
        cwd "./api"
        name "API Shell"
      }
    }
  }

}

Screenshot 2023-09-08 at 09 56 26 Note that while the screenshot looks like it might have exited zellij there at the bottom, it is actually still open and that reverts back to the quick help options once I start interacting with it.

zellij-11.log zellij-12.log zellij.log

razimantv commented 1 year ago

Faced the same issue with zellij 0.38 on bash on ArchLinux.