Module broot::app[][src]

Structs

App

The GUI

AppContext

The immutable container that can be passed around to provide the configuration things for the whole life of the App

CmdContext

short lived wrapping of a few things which are needed for the handling of a command in a panel and won’t be modified during the operation.

Panel

A colon on screen containing a stack of states, the top one being visible

PanelId

The unique identifiant of a panel

Selection

light information about the currently selected file and maybe line number

StandardStatus

all the precomputed status which don’t involve a verb

Status

the status contains information written on the grey line near the bottom of the screen

Enums

AppStateCmdResult

Result of applying a command to a state

AppStateType

one of the three types of state that you could find in a panel today

HDir

Either left or right

Mode

modes are used when the application is configured to be “modal”. If not, the only mode is the Input mode.

PanelPurpose

the possible special reason the panel was open

PanelReference

the symbolic reference to the panel to close

SelectionType

Traits

AppState

a panel state, stackable to allow reverting to a previous one

Functions

get_arg
initial_mode

Type Definitions

LineNumber

the id of a line, starting at 1 (0 if not specified)