diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-05 21:59:10 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-05 22:06:02 +0300 |
| commit | 556b16b2df7ea2c3e9b8ad13db4ad7370c1ad838 (patch) | |
| tree | 0a6f61701f2c8992c6cd1ee6d61171ef92a92533 /src/api/server.rs | |
| parent | ae3c88ab8c64931740d89623f688f7d3f408da5e (diff) | |
feat: add pane navigation controls
refs #421
refs #330
related discussions:
https://github.com/ogulcancelik/herdr/discussions/422
https://github.com/ogulcancelik/herdr/discussions/438
https://github.com/ogulcancelik/herdr/discussions/442
Diffstat (limited to 'src/api/server.rs')
| -rw-r--r-- | src/api/server.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/api/server.rs b/src/api/server.rs index c51b46e8..44bb3097 100644 --- a/src/api/server.rs +++ b/src/api/server.rs @@ -295,6 +295,12 @@ fn api_method_name(method: &Method) -> &'static str { Method::AgentFocus(_) => "agent.focus", Method::AgentStart(_) => "agent.start", Method::PaneSplit(_) => "pane.split", + Method::PaneSwap(_) => "pane.swap", + Method::PaneLayout(_) => "pane.layout", + Method::PaneNeighbor(_) => "pane.neighbor", + Method::PaneEdges(_) => "pane.edges", + Method::PaneFocusDirection(_) => "pane.focus_direction", + Method::PaneResize(_) => "pane.resize", Method::PaneList(_) => "pane.list", Method::PaneGet(_) => "pane.get", Method::PaneRename(_) => "pane.rename", |
