contour icon indicating copy to clipboard operation
contour copied to clipboard

Weird bug with `terminal_size` unset inside `zellij` and `neovim`

Open budimanjojo opened this issue 1 year ago • 0 comments
trafficstars

Contour Terminal version

0.4.3

Installer source

something else (please specify below)

Operating System

Ubuntu Linux with Nix

Architecture

x86-64

Other Software

zellij 0.40.1 nvim v0.9.5 with fzf-lua plugin

Steps to reproduce

This is a weird issue. Here are the steps to reproduce:

  1. Remove terminal_size key in the config file.
  2. Run zellij with ZELLIJ_AUTO_ATTACH set to true, then open a new pane inside zellij.
  3. In one of the pane, open neovim and run :FzfLua files (needs to install fzf-lua plugin).
  4. Close Contour and run Contour again, now the pane with neovim opened will freeze and not receiving any input, keep typing in that pane will close the FzfLua window and make neovim unusable with very small window.

Expected Behavior

It should work just fine like when terminal_size is set.

Actual Behavior

Described above

Additional notes

I know this is a weird bug and it's troublesome for devs to reproduce. I tried other ways to reproduce this without zellij and neovim involved but failed to do so.

Please let me know how can I find the debug log to help with this issue.

budimanjojo avatar Sep 29 '24 06:09 budimanjojo