T18 review fixes: a missing folder stops the start, combining marks paint on their cell, the terminal is a Tab stop and keeps its wheel, clear drops find matches; the gallery starts a fresh shell per pick and picks the shell tab before typing

This commit is contained in:
ZacharyZhang-NY committed 2026-09-26 01:44:13 -04:00
1 parent 7da1368cd9
commit f6ad8d1e50
9 files changed
+134 -26

No files matched your search

+20
View File
@@ -49,3 +49,23 @@ fn find_counts_matches_and_steps_round(cx: &mut TestAppContext) {
);
});
}
#[gpui::test]
fn tab_reaches_the_terminal(cx: &mut TestAppContext) {
let (terminal, cx) = replayed(b"ok", cx);
let focused = cx.update(|window, cx| {
window.focus_next();
terminal.read(cx).focus.is_focused(window)
});
assert!(focused);
}
#[gpui::test]
fn clearing_drops_the_matches(cx: &mut TestAppContext) {
let (terminal, cx) = replayed(b"one two one", cx);
terminal.update(cx, |terminal, cx| {
assert_eq!(terminal.find("one", FindOptions::default(), cx), Ok(2));
terminal.clear(cx);
assert_eq!(terminal.matches(), (0, None));
});
}