TUI補完の細かい挙動修正

This commit is contained in:
2026-04-30 14:38:03 +09:00
parent 623b54cefc
commit bc81dc1513
4 changed files with 385 additions and 26 deletions
+2 -1
View File
@@ -657,7 +657,8 @@ mod tests {
assert_eq!(parsed["data"]["entries"][0]["value"], "clear");
// is_dir defaults to false on inbound payloads that omit it.
let inbound = r#"{"event":"completions","data":{"kind":"file","entries":[{"value":"main.rs"}]}}"#;
let inbound =
r#"{"event":"completions","data":{"kind":"file","entries":[{"value":"main.rs"}]}}"#;
let decoded: Event = serde_json::from_str(inbound).unwrap();
match decoded {
Event::Completions { kind, entries } => {