another time

This commit is contained in:
clizia 2025-05-14 22:18:31 +02:00
parent d1ea7eb2c0
commit 16acd8c00e

View file

@ -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,