pvolok / mprocs

Run multiple commands in parallel
MIT License
1.53k stars 52 forks source link

Bug: Switching in and out of Zen mode introduces cutoffs and doesn't resize process window #146

Open IroncladDev opened 3 months ago

IroncladDev commented 3 months ago

After updating to the latest version, I'm starting to experience this issue.

You can see me reproducing the bug here: https://github.com/user-attachments/assets/37d4d8d9-1c2c-4e6d-9e9b-7fd349052fac

And to show that this isn't neovim-specific: https://github.com/user-attachments/assets/9213a817-5ce7-49d9-b5b4-62962a810e9f

To reproduce:

  1. Open your terminal emulator in fullscreen
  2. Run a few processes (preferably some sort of TUI)
  3. Select a process in the sidebar and press 'z' to enter Zen mode
  4. The process doesn't resize and instead shows a ton of question marks
  5. Resize the terminal emulator window while still in zen mode
  6. Fixes itself
  7. Get out of zen mode with CTRL+A
  8. Process does not resize (if using a TUI you'll see a cutoff)
  9. Resize the terminal emulator window
  10. Process resizes

Neovim in Mprocs in Alacritty on MacOS, btw

pvolok commented 3 months ago

Thank you for such a thorough explanation!