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

The split pane for renaming would change the pane height messing the layout #94

Open
liangkarl opened this issue Feb 5, 2025 · 1 comment

Comments

@liangkarl
Copy link

Hello,

Thanks for giving us such a great tool to work with tmux. However, I found that the rename function would change the height of panes. For example, if I create three panes horizontally and rename the window, two of the panes' heights would change after the rename pane closed. Could you change the rename pane to a popup window? It would help a lot.

Thanks.

@liangkarl liangkarl changed the title The rename function would change the pane height The split pane for renaming would change the pane height messing the layout Feb 6, 2025
@liangkarl
Copy link
Author

liangkarl commented Feb 6, 2025

I've tested the commands in my environment. It looks fine to me.

# for window
tmux popup -h 3 -E -T "Window Name:" bash -c "read window_name && echo \"\$window_name\" > /tmp/tmux_fzf_window_name" &
# for session
tmux popup -h 3 -E -T "Session Name:" bash -c "read session_name && echo \"\$session_name\" > /tmp/tmux_fzf_session_name" &

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

1 participant