diff options
Diffstat (limited to 'src/app/actions.rs')
| -rw-r--r-- | src/app/actions.rs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/app/actions.rs b/src/app/actions.rs index 21e17bf0..870044a8 100644 --- a/src/app/actions.rs +++ b/src/app/actions.rs @@ -683,10 +683,18 @@ impl AppState { agent_label, state, message, + custom_status, seq, } => self .update_pane_state(pane_id, |pane| { - pane.set_hook_authority(source, agent_label, state, message, seq) + pane.set_hook_authority_with_custom_status( + source, + agent_label, + state, + message, + custom_status, + seq, + ) }) .into_iter() .collect(), @@ -1365,6 +1373,7 @@ mod tests { agent_label: "hermes".into(), state: AgentState::Blocked, message: None, + custom_status: None, seq: None, }); |
