mux: add kill_pane rpc call

This is especially important now that exit_behavior can keep
empty panes around in unexpected circumstances.
This commit is contained in:
Wez Furlong committed 2021-03-28 08:07:51 -07:00
1 parent b48f7f6c6a
commit a3a07c8da5
4 files changed
+41

No files matched your search

+6
View File
@@ -434,6 +434,7 @@ pdu! {
SearchScrollbackResponse: 32,
SetPaneZoomed: 33,
SplitPane: 34,
KillPane: 35,
}
impl Pdu {
@@ -577,6 +578,11 @@ pub struct SplitPane {
pub domain: config::keyassignment::SpawnTabDomain,
}
#[derive(Deserialize, Serialize, PartialEq, Debug)]
pub struct KillPane {
pub pane_id: PaneId,
}
#[derive(Deserialize, Serialize, PartialEq, Debug)]
pub struct SpawnResponse {
pub tab_id: TabId,