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

Tmux pane disappears when opening nvim in its neighboring pane #221

Open
agronskiy opened this issue Mar 26, 2023 · 4 comments
Open

Tmux pane disappears when opening nvim in its neighboring pane #221

agronskiy opened this issue Mar 26, 2023 · 4 comments

Comments

@agronskiy
Copy link

Hello! First, thanks for a wonderful project! So, the issue is as follows:

  • the following asciicast Tmux pane disappears when opening nvim in its neighboring pane - asciinema consists in opening tmux with two panes, and firing neovim in one of them. Then repeating in another pane.
  • reproducing issue part when replaying the cast in the web player, the idle tmux pane (i.e. not the one where neovim was fired) disappears, also does a part of the pane separator. The pane reappears when switching to it.
  • expected flow when replaying in terminal with asciinema play, all works fine -- the panes do not disappear.

Additional info:

  • macos 11.5.2 (Big Sur)
  • iTerm2 for recording and local replay
  • tmux version 3.2a
@ku1ik
Copy link
Contributor

ku1ik commented Apr 13, 2023

This is interesting. I tested your recording with asciinema play https://asciinema.org/a/V4JMoqkoMNotx983nmt63EzLG on several terminals with following results:

  • Alacritty - panes disappear
  • Gnome Terminal - panes disappear
  • xterm - seems to work fine

Hard to say at a glance what causes this but it's probably due to different handling of some specific, advanced, control sequences tmux uses...

@pocek
Copy link

pocek commented Aug 28, 2023

Likely related to DECSLRM which asciinema-player doesn't support. In xterm, vertical split in tmux will use it unless xterm is configured as vt220:

*.vt100.decTerminalID: vt220

Maybe iTerm2 is similar.

@ku1ik
Copy link
Contributor

ku1ik commented Aug 28, 2023

Aha! That brings us closer to having it fixed. Thanks!

@ku1ik
Copy link
Contributor

ku1ik commented Oct 2, 2023

Yeah, pretty sure it's DECSLRM missing in avt.

Found related issues for other terminal emulators:

It seems currently it's supported in xterm (not xterm.js) and iTerm2.

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

3 participants