feat: add --direction flag to markdown open command
Merged
ZS
8mo ago+19+19+01234567890123456789-6-6-0123456789
Adds --direction <left|right|up|down> flag to cmux markdown open, matching the convention used by new-pane and new-split. Defaults to right, preserving existing behavior.
Summary by cubic
Adds a --direction <left|right|up|down> flag to cmux markdown open to control where the markdown split opens. Default is right, preserving behavior and matching new-pane/new-split.
- New Features
- CLI accepts
--directionand passesdirectionto the server; invalid values return a clearinvalid_paramserror. - Terminal picks orientation and insertion based on direction (horizontal/vertical; insert-first for left/up); usage/help and examples updated.
- CLI accepts
Summary by CodeRabbit
Release Notes
- New Features
- Added support for directional markdown splits with the new
--directionoption. Users can now specify split direction (right, left, up, down) when opening markdown panels, providing greater control over workspace layout.
- Added support for directional markdown splits with the new