diff options
Diffstat (limited to 'src/app/creation.rs')
| -rw-r--r-- | src/app/creation.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/app/creation.rs b/src/app/creation.rs index 5bb14953..a034fdc4 100644 --- a/src/app/creation.rs +++ b/src/app/creation.rs @@ -274,6 +274,7 @@ impl App { && ws .focused_pane_id() .is_some_and(|focused| focused == pane_id); + let presentation = terminal.effective_presentation(); Some(crate::api::schema::PaneInfo { pane_id: self.public_pane_id(ws_idx, pane_id)?, terminal_id: terminal.id.to_string(), @@ -285,8 +286,11 @@ impl App { .map(|cwd| cwd.display().to_string()), label: terminal.manual_label.clone(), agent: terminal.effective_agent_label().map(str::to_string), + title: presentation.title, + display_agent: presentation.display_agent, agent_status: pane_agent_status(terminal.state, pane.seen), - custom_status: terminal.effective_custom_status().map(str::to_string), + custom_status: presentation.custom_status, + state_labels: presentation.state_labels, revision: terminal.revision, }) } |
