Skip to main content

acp_compact_message

Function acp_compact_message 

Source
fn acp_compact_message(
    block_id: &str,
    focus: Option<&str>,
) -> Option<Result<String, &'static str>>
Expand description

The message that compacts the ACP agent in block_id, by what its harness announced: /compact with the focus when the command takes one, alone when it doesn’t, a refusal when the harness announced no compaction command. None when the pane is not an ACP agent.