Skip to main content

Module app

Module app 

Source
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.
LoadingContext
Context for the loading screen — summary of the patchset being fetched.

Enums§

FocusPanel
Which panel currently has keyboard focus.
InputMode
What mode the keyboard is operating in.
ListContent
What content the list view is displaying.
RunningState
Controls the main event loop lifecycle.
SidebarSection
Which section of the sidebar has focus when the sidebar is active.
SortColumn
Which column the patchset list is sorted by.
SortDirection
Sort direction for the patchset list.
ViewMode
Which view the main pane is displaying.