fixed bash script scrolling

This commit is contained in:
Uber Veng
2026-05-22 00:31:29 +07:00
parent 65e189c913
commit 8fe8af2962
3 changed files with 10 additions and 3 deletions

View File

@@ -359,7 +359,14 @@ impl App {
}
// ── Text input ────────────────────────────────────
KeyCode::Char(c) if !is_menu && !is_confirm => {
// Vim motion keys (j/k/l/h) are excluded here so they
// fall through to the vim-motion arms below.
KeyCode::Char(c)
if !is_menu
&& !is_confirm
&& (is_text_input
|| !matches!(c, 'j' | 'k' | 'l' | 'h')) =>
{
input_buffer.push(c);
}
KeyCode::Backspace if !is_menu => {