refactor: `capture_all()` is now `capture_all_displays()`
Diff
src/main.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -11,11 +11,11 @@ mod imaging;
fn main() {
let args = cli::Args::parse();
capture_all(args.out, args.filename_format.unwrap_or_default());
capture_all_displays(args.out, args.filename_format.unwrap_or_default());
}
fn capture_all(out_dir: String, filename_format: String) {
fn capture_all_displays(out_dir: String, filename_format: String) {
let captures: Vec<_> = graphics::Display::get_displays()
.iter()
.filter_map(|screen| screen.capture().ok())