From 556b16b2df7ea2c3e9b8ad13db4ad7370c1ad838 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Fri, 5 Jun 2026 21:59:10 +0300 Subject: 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 --- src/api/server.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/api/server.rs') 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", -- cgit v1.2.3