Skip to main content

kui_input_commit

Function kui_input_commit 

Source
#[unsafe(no_mangle)]
pub extern "C" fn kui_input_commit(ptr: *mut KuiCtx, text: KuiStr)
Expand description

Text an IME committed at the end of a composition: a focused editor takes it as kui_input_text would; otherwise the focused on_key sink hears {kind:"text", text, tag}, the one committed text a key event never carries. Typing stays on kui_input_text.