pub(super) async fn close_channel(
env: &MountainEnvironment,
channel_identifier: String,
) -> Result<(), CommonError>Expand description
Closes the view of an output channel in the UI. Hides the channel
(mutates IsVisible in ApplicationState) and emits a Sky event
so the renderer can collapse the panel; the channel itself stays
in state with its buffered lines so a later reveal can re-open
it without losing content. To remove the channel entirely, use
dispose_channel instead.