From ae1ab0fba1b2f1d2491f9d5064765f837f6fe0e4 Mon Sep 17 00:00:00 2001 From: SW Date: Fri, 19 Jun 2026 08:29:03 +0200 Subject: [PATCH] fix(custom): type 'a' in command input and enlarge input box --- src/events.rs | 2 ++ src/ui.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/events.rs b/src/events.rs index d8b2bae..e9ff25b 100644 --- a/src/events.rs +++ b/src/events.rs @@ -141,6 +141,8 @@ fn handle_custom_event(app: &mut App, key: event::KeyEvent) -> bool { KeyCode::Char('a') => { if state.focus == CustomFocus::Lines { state.toggle_all(); + } else { + state.command.push('a'); } } KeyCode::Backspace => { diff --git a/src/ui.rs b/src/ui.rs index 0031806..598c122 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -49,7 +49,7 @@ fn draw_custom(f: &mut Frame, app: &App) { .margin(1) .constraints([ Constraint::Min(5), - Constraint::Length(3), + Constraint::Length(5), Constraint::Length(1), ]) .split(f.area());