T23: the shell tests type a line only once the line editor reads raw keys: on CI's pwsh 7.6.6 the probe, typed right after the first folder report, came before PSReadLine's first read and was echoed, never run; shot warns when the app it runs under lacks Screen Recording, which left this Mac's pictures with the window's ground alone; AGENTS.md records the CI runners, the build without debuginfo and the typing rule
This commit is contained in:
5 files changed
+37
-4
No files matched your search
@@ -83,9 +83,15 @@ pub fn menus() -> Vec<String> {
|
||||
/// Writes window `number` as a PNG.
|
||||
pub fn snapshot(number: u32, path: &Path) -> anyhow::Result<()> {
|
||||
use core_graphics::{
|
||||
access::ScreenCaptureAccess,
|
||||
geometry::{CGPoint, CGRect, CGSize},
|
||||
window,
|
||||
};
|
||||
if !ScreenCaptureAccess.preflight() {
|
||||
log::warn!(
|
||||
"shot: the app shot runs under lacks Screen Recording, so the picture may hold the window's ground alone"
|
||||
);
|
||||
}
|
||||
let image = window::create_image(
|
||||
CGRect::new(&CGPoint::new(0.0, 0.0), &CGSize::new(0.0, 0.0)),
|
||||
window::kCGWindowListOptionIncludingWindow,
|
||||
|
||||
Reference in new issue
Block a user