UI module

Key_Result

structextensionexperimentalsince 0.31.0Source

What handle_key did.

Example↗
result := Key_Result.{ changed = true };
assert(result.changed && !result.submitted);

Fields

changed: bool
the text changed
submitted: bool
Enter in a single-line edit
handled: bool
the key meant something to the editor

See also