Skip to main content

current_focus

Function current_focus 

Source
pub fn current_focus(app: &App) -> FocusTarget
Expand description

Canonical focus resolver — both translate and apply must call this.

Precedence: Overlay > CmdLine > ConsoleInput > ViewPane. States are structurally mutually exclusive for the higher layers: opening the cmdline or an overlay is the only way to gain that focus, and closing it restores the layer below.