Skip to content

attach neovim resize issue #240

@neurosnap

Description

@neurosnap

Hello! First, thanks for making such a useful tool! It's helping me remove my dependency on tmux.

What happened
Please explain what went wrong with your usage of shpool.

I have two computers that I use to ssh into my headless dev box running neovim. If I attach 1 client to shpool+neovim, everything works fine. Eventually I detach by closing my laptop lid

When I move to my other computer and try to reattach to neovim, it looks like the window size for neovim does not get readjusted and there's a big empty box at the bottom of my screen.

What I expected to happen
Please explain what you think should have happened instead.

When I dettach and reattach from shpool+neovim, I expect neovim to resize to match my window size.

I've tried change the size of my terminal window, sending SIGWINCH events, but nothing seems to work.

I'm also using fish if that makes a difference.

To Reproduce
Steps to reproduce the behavior:

  • Create session with fish then neovim (computer a)
  • Detach (computer a)
  • Reattach (computer b)
  • neovim does not scale to match new window size

Version info
Run shpool version and paste the output here

v0.9.1

Logs
Run journalctl --output cat --user -u shpool to pull logs related to shpool, then attach the file
to this issue. You may need to trim the output with tail.

I can provide these if they would be helpful.

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