Capture select all command in TextInput

This commit is contained in:
Héctor Ramón Jiménez 2024-02-28 10:06:30 +01:00
parent 976a57dcbd
commit d037867929
No known key found for this signature in database
GPG key ID: 0BF4EC06CD8E5686

View file

@ -838,6 +838,8 @@ where
if state.keyboard_modifiers.command() => if state.keyboard_modifiers.command() =>
{ {
state.cursor.select_all(value); state.cursor.select_all(value);
return event::Status::Captured;
} }
_ => {} _ => {}
} }