Skip to main content

terminal_view_preview

Function terminal_view_preview 

Source
pub fn terminal_view_preview(_window: &mut Window, cx: &mut App) -> AnyElement
Expand description

Standalone gallery preview for TerminalView (not registered in the Component catalog since it is a stateful Entity that spawns a real process, matching CodeEditor/TabSwitcher’s existing convention in this crate — but unlike those, mounting this in a gallery genuinely spawns a real shell child process for as long as the entity is alive).