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

feat(ux): pin floating panes #3876

Merged
merged 15 commits into from
Dec 16, 2024
Merged

feat(ux): pin floating panes #3876

merged 15 commits into from
Dec 16, 2024

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented Dec 16, 2024

2024-12-16.15-09-57.mp4

With this change, user can now "pin" floating panes - meaning set them as "always on top" relative to the tiled pane surface. So that they will appear even if the floating pane surface is toggled off.

This can be done:

  1. With a mouse-click as shown in the video
  2. With a keyboard shortcut (by default i in Pane mode, so by default: Ctrl p + i)
  3. Through the command line (zellij action toggle-pane-pinned)
  4. From a plugin with the new set_floating_pane_pinned API

Pinned panes are also available in layouts for floating panes and will be respected when resurrecting sessions.

These can be very useful for long running commands that have helpful immediate feedback (eg. logs, compiler output, network device traffic, resource monitors such as htop, etc.)

@imsnif imsnif merged commit dd291e2 into main Dec 16, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

1 participant