Don't insert input in editor when control keys are pressed

This commit is contained in:
Nathan Sobo 2022-02-21 18:21:27 -07:00
parent 7cd5dbd2a8
commit 618f0a127a
4 changed files with 34 additions and 32 deletions

View file

@ -4,7 +4,7 @@ use crate::{geometry::vector::Vector2F, keymap::Keystroke};
pub enum Event {
KeyDown {
keystroke: Keystroke,
chars: String,
input: Option<String>,
is_held: bool,
},
ScrollWheel {