From cc7c696cd0772e466da403eb4e3f00f4e8d8ae1e Mon Sep 17 00:00:00 2001 From: Can Celik Date: Sat, 19 Sep 2026 14:47:18 +0300 Subject: feat: add configurable pane screen and scrollback clearing (#4383) --- src/server/client_commands.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/server/client_commands.rs') diff --git a/src/server/client_commands.rs b/src/server/client_commands.rs index 4494f053..87824c85 100644 --- a/src/server/client_commands.rs +++ b/src/server/client_commands.rs @@ -18,6 +18,7 @@ const CLIENT_SHELL_METHODS: &[&str] = &[ "integration.install", "integration.list", "layout.set_split_ratio", + "pane.clear", "pane.close", "pane.copy_motion", "pane.copy_search", @@ -287,7 +288,11 @@ mod tests { ))) .expect("endpoint method shape fixture"); let mut actual = endpoint_method_shape_digests(); - // Freeze the additive method separately without rewriting the published fixture. + // Freeze additive methods separately without rewriting the published fixture. + assert_eq!( + actual.remove("pane.clear").as_deref(), + Some("0301d288ba198ddaa427dd7421c71911cccaf4ea03544531efa8b67ca21b08f6") + ); assert_eq!( actual.remove("pane.link.resolve").as_deref(), Some("f5e4a3e01453ae7b188f127ce951c12c20e0bebcc17cc364eeb6d1a01fd5bf81") -- cgit v1.2.3