another time
This commit is contained in:
parent
d1ea7eb2c0
commit
16acd8c00e
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
use crossterm::event::KeyModifiers;
|
||||
use derive_setters::Setters;
|
||||
use ratatui::{
|
||||
layout::{
|
||||
|
@ -75,7 +74,7 @@ impl Widget for Popup<'_> {
|
|||
}
|
||||
|
||||
async fn handle_key_event(mut client: &mut Client<'_>, key_event: KeyEvent) {
|
||||
match &client.popup_user_input {
|
||||
match client.popup_user_input {
|
||||
true => {
|
||||
match key_event.into() {
|
||||
Input {key: Key::Esc, ..} => client.popup_user_input = false,
|
||||
|
|
Loading…
Add table
Reference in a new issue