Skip to content

Commit

Permalink
fix(tui): allow uppercase chars in input component
Browse files Browse the repository at this point in the history
  • Loading branch information
godzie44 committed May 21, 2024
1 parent 945462a commit 1e4d772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/tui/components/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl Component<Msg, UserEvent> for Input {
}) => self.perform(Cmd::Delete),
Event::Keyboard(KeyEvent {
code: Key::Char(ch),
modifiers: KeyModifiers::NONE,
..
}) => self.perform(Cmd::Type(ch)),
Event::Keyboard(KeyEvent {
code: Key::Enter, ..
Expand Down

0 comments on commit 1e4d772

Please sign in to comment.