Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8fe8af2962 |
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -1123,7 +1123,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ostiary"
|
name = "ostiary"
|
||||||
version = "1.0.4"
|
version = "1.0.5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"crossterm",
|
"crossterm",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "ostiary"
|
name = "ostiary"
|
||||||
version = "1.0.4"
|
version = "1.0.5"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
@@ -359,7 +359,14 @@ impl App {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ── Text input ────────────────────────────────────
|
// ── 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);
|
input_buffer.push(c);
|
||||||
}
|
}
|
||||||
KeyCode::Backspace if !is_menu => {
|
KeyCode::Backspace if !is_menu => {
|
||||||
|
|||||||
Reference in New Issue
Block a user