Expand description
UI components that make up the Wisp terminal interface.
All components implement the Component trait from the tui crate, following its event-message pattern: on_event handles input and produces typed messages, render produces a Frame.
§Component tree
App
├─ ScreenRouter
│ ├─ ConversationScreen
│ │ ├─ ConversationWindow (message history)
│ │ ├─ PromptComposer
│ │ │ ├─ TextInput
│ │ │ ├─ CommandPicker (modal)
│ │ │ └─ FilePicker (modal)
│ │ ├─ ToolCallStatuses
│ │ ├─ PlanTracker / PlanView
│ │ ├─ ProgressIndicator
│ │ ├─ ElicitationForm (modal)
│ │ └─ SessionPicker (modal)
│ └─ GitDiffView
│ ├─ PatchRenderer
│ └─ SplitPatchRenderer
├─ SettingsOverlay (modal)
└─ StatusLine§Visibility
Components marked pub are part of the public API. Components marked pub(crate) are internal implementation details used only within wisp.
Modules§
- app
- command_
picker - conversation_
window - elicitation_
form - file_
list_ panel - file_
picker - file_
tree - input_
prompt - model_
selector - patch_
renderer - plan_
view - progress_
indicator - provider_
login - server_
status - status_
line - text_
input - thought_
message - tool_
call_ status_ view - tool_
call_ statuses
Functions§
- wrap_
selection - Wrapping navigation helper for selection indices.
deltaof -1 moves up, +1 moves down, wrapping at boundaries.