annotation

OnKeyPress

Marks a method as the handler for a key. key is a Char literal, the symbol :digit, a Tui::Key constant, or a key name string ("up"). See Cresium::Dispatchable for how group and the return value are used.