fix(custom): type 'a' in command input and enlarge input box

This commit is contained in:
SW 2026-06-19 08:29:03 +02:00
parent 542c1db67e
commit ae1ab0fba1
2 changed files with 3 additions and 1 deletions

View file

@ -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 => {

View file

@ -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());