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
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8374b77906
commit
47f3c7d505
9 files changed
+134
-26
No files matched your search
@@ -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));
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user