Skip to content

Commit

Permalink
feat: show up actual window title in cli
Browse files Browse the repository at this point in the history
  • Loading branch information
MilkClouds committed Sep 18, 2024
1 parent ab6be75 commit b9d438e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ fn main() {
path: cli.path.clone(),
};

println!("Window title: {}", window_name);
println!("Window title: {}", capture_item.title().expect("Failed to get window title"));
println!("Window size: {}x{}", width, height);

start_capture(
Expand Down

0 comments on commit b9d438e

Please sign in to comment.