-
|
Hey! It's been a while since I was forced to move out of linux at work, and I'm excited to be able to take back tmux experience thanks to this project... Thanks for that! :) Now, In my tmux config I used to have a popup for lazygit: bind -r g popup -E -w 95% -h 95% -d "#{pane_current_path}" lazygitI think there are a few things not working as I expected, but not sure if I am trying something unsupported by psmux so I'm asking here in Q&A. Let me know if I should make this into an issue instead.
Thanks in advance for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
|
Hey @Eryx5502, welcome to psmux and thanks for the kind words! Really glad it is bringing back that tmux experience for you on Windows. All three of these are confirmed bugs on our side, and they are all fixed now in commit 1. Width percentage not working You were right. When you passed 2. The This was completely unhandled. What was happening is the bind -r g popup -E -w 95% -h 95% -d "#{pane_current_path}" lazygit3. No colors in lazygit Your instinct about TERM was spot on. Regular panes were getting You can grab the latest build from master. Let me know if everything works on your end or if anything else comes up! |
Beta Was this translation helpful? Give feedback.
-
|
@Eryx5502 I had to run this multiple times and multiple responses got posted. sorry if it flooded your notifications/emails. Use the latest commit |
Beta Was this translation helpful? Give feedback.
-
|
Could test it and works perfectly right now. Thanks for taking the time for implementing this! |
Beta Was this translation helpful? Give feedback.
Hey @Eryx5502, welcome to psmux and thanks for the kind words! Really glad it is bringing back that tmux experience for you on Windows.
All three of these are confirmed bugs on our side, and they are all fixed now in commit
0e1dbba. Here is what was going on and what changed:1. Width percentage not working
You were right. When you passed
-w 95%, psmux was just stripping the%and treating the number as absolute columns. So95%became a 95 column popup instead of 95% of your terminal width. The reason-h 95%seemed to work is that 95 rows happens to fill most terminals vertically by coincidence. Now there is a properparse_popup_dimfunction that calculates the actual percentage of termin…