diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-25 16:41:38 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-25 16:41:38 +0200 |
commit | 6c4b81d58272371bc76e79dd086be3161f6b7193 (patch) | |
tree | a8b5beeb3d48f17d49aa61d566dc55e97b53e3d4 /pixel-client/src/main.rs | |
parent | a01186bcaa702f6dc5cdd3254c0ab95eabaef1d7 (diff) | |
download | hurrycurry-6c4b81d58272371bc76e79dd086be3161f6b7193.tar hurrycurry-6c4b81d58272371bc76e79dd086be3161f6b7193.tar.bz2 hurrycurry-6c4b81d58272371bc76e79dd086be3161f6b7193.tar.zst |
textedit
Diffstat (limited to 'pixel-client/src/main.rs')
-rw-r--r-- | pixel-client/src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pixel-client/src/main.rs b/pixel-client/src/main.rs index 05e19194..d1b7e7a9 100644 --- a/pixel-client/src/main.rs +++ b/pixel-client/src/main.rs @@ -148,6 +148,10 @@ fn main() { State::Menu(menu) => menu.keyboard_event(keycode, true), _ => (), }, + Event::TextInput { text, .. } => match &mut state { + State::Menu(menu) => menu.ui_state.text_input(text), + _ => (), + }, _ => {} } } |