Skip to main content

escape_left

Function escape_left 

Source
pub fn escape_left(ctx: &Context, id: Id) -> bool
Expand description

Whether Escape just took the focus from this text input (the focus plugin swallows that press, see the order): an input that cancels on Escape reads it here, since the key itself is gone. Answered once: the press is spent by the first call that sees it.