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

Pane frames not visible when starting session with custom layout #3892

Open
jsouzadasilva opened this issue Dec 24, 2024 · 0 comments
Open

Comments

@jsouzadasilva
Copy link

1. Graphical issue inside a terminal pane (eg. something does not look as it should)

  1. Delete the contents of /tmp/zellij-1000/zellij-log, ie with cd /tmp/zellij-1000/ and rm -fr zellij-log/ (/tmp/ is $TMPDIR/ on OSX)
  2. Run zellij --debug
  3. Run stty size, copy the result and attach it in the bug report
  4. Recreate your issue.
  5. Quit Zellij immediately with ctrl-q (your bug should ideally still be visible on screen)

Please attach the files that were created in /tmp/zellij-1000/zellij-log/ to the extent you are comfortable with.

Basic information

zellij --version: zellij 0.41.2

stty size: 51 286

uname -av or ver(Windows):

Further information

Reproduction steps, noticeable behavior, related issues, etc

I'm unable to see the pane frames in the session started with my layout.

My layout is setup like this:

layout {
  cwd "projectpath"

  default_tab_template name="base" {
    pane size=1 borderless=true {
      plugin location="tab-bar"
    }
    children
    pane size=1 borderless=true {
      plugin location="status-bar"
    }
  }

  tab name="project" focus=true hide_floating_panes=true {
    pane name="editor"
  } 

  tab name="terminal" split_direction="vertical" {
    pane size="70%" name="terminal"
    pane size="30%" name="server" {
      command "make"
      args "all-run-local-mac"
    }
  }

}

No pane frames, no names:
image

In my config, I have it enabled:
image

Oddly enough, when I include a second pane in my first tab, it works as intended:

layout {
  cwd "projectpath"

  default_tab_template name="base" {
    pane size=1 borderless=true {
      plugin location="tab-bar"
    }
    children
    pane size=1 borderless=true {
      plugin location="status-bar"
    }
  }

  tab name="project" focus=true hide_floating_panes=true {
    pane name="editor"
    pane name="editor2"
  } 

  tab name="terminal" split_direction="vertical" {
    pane size="70%" name="terminal"
    pane size="30%" name="server" {
      command "make"
      args "all-run-local-mac"
    }
  }

}

Working as intended, pane frames and names.
image

log:
zellij.log

2. Issues with the Zellij UI / behavior / crash

Issue description

Minimal reproduction

Other relevant information

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

1 participant