Skip to main content

Module tui_shell

Module tui_shell 

Source
Expand description

Driver-generic TUI shell.

The shell half of the unification: a single terminal UI that drives any SessionDriver — chrome (banner + status slot + footer), the editor dock, the input loop, and the slash-command surface. It renders the transcript through the shared TranscriptView and applies normalized UiEvents, so the same shell serves the remote client today and the in-process host once its runner adopts the driver seam.

Local-only capabilities (session tree and extension management) are not part of this shell: it is the transport-agnostic floor both frontends share.

Functions§

run_driver_tui
Drive the generic shell against driver until the user exits (or the driver’s event stream ends). addr is a display label for the banner.