Expand description
Application state and lifecycle. Application state and lifecycle.
Defines the top-level App struct (all application state) and
the RunningState enum controlling the main event loop.
Structs§
- App
- Top-level application state.
- Loading
Context - Context for the loading screen — summary of the patchset being fetched.
Enums§
- Focus
Panel - Which panel currently has keyboard focus.
- Input
Mode - What mode the keyboard is operating in.
- List
Content - What content the list view is displaying.
- Running
State - Controls the main event loop lifecycle.
- Sidebar
Section - Which section of the sidebar has focus when the sidebar is active.
- Sort
Column - Which column the patchset list is sorted by.
- Sort
Direction - Sort direction for the patchset list.
- View
Mode - Which view the main pane is displaying.