Skip to content

feat: implement resizable Jobs/Details panel - #76

Open
laitifranz wants to merge 2 commits into
karimknaebel:mainfrom
laitifranz:feat/resizable-panel-split
Open

feat: implement resizable Jobs/Details panel#76
laitifranz wants to merge 2 commits into
karimknaebel:mainfrom
laitifranz:feat/resizable-panel-split

Conversation

@laitifranz

Copy link
Copy Markdown

Why

Job and Details panels are truncated on a small terminal window. Letting users resize the split makes it easier to adapt the UI when needed (e.g. show full job name).

Summary

  • Make the Jobs/Details horizontal split resizable by dragging the panel divider
  • Keep the default Jobs/Details split until the first resize
  • Add a help hint (drag │: resize) and a unit test for percentage calculation from mouse column

Cargo test passed. Tested on mock & real Slurm env.

Before:
before

After:
after

Thanks for the TUI, love it!

@karimknaebel

Copy link
Copy Markdown
Owner

thank you! i'm usually pretty conservative with new features, but added code complexity for this seems reasonably low. i'll give it a try.

hn-yu added a commit to hn-yu/turm that referenced this pull request Aug 5, 2026
Combines the g-to-workdir feature with laitifranz's resizable panel
divider (drag the │ separator, keeps default split until first resize).
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.

2 participants