Skip to main content

spawn_core_session

Function spawn_core_session 

Source
pub fn spawn_core_session(
    _theme: InlineTheme,
    _options: CoreSessionOptions,
) -> Result<(InlineHandle, UnboundedReceiver<InlineEvent>)>
Expand description

Spawn a core TUI session. Returns the session handle and event receiver. The actual TUI event loop is implemented in oxicode-cli, not here.