From 14a130ee3d1b2b557f22dc6eca5946852e07ba9d Mon Sep 17 00:00:00 2001 From: Sven Kanoldt Date: Sat, 15 Nov 2025 23:51:32 +0100 Subject: [PATCH 1/2] feat: make 3s the default idle-pause for more readable demo recordings Signed-off-by: Sven Kanoldt --- src/cli.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli.rs b/src/cli.rs index eb8c75e..99d9dda 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -110,6 +110,7 @@ pub fn launch() -> ArgMatches { .required(false) .short('i') .long("idle-pause") + .default_value("3s") .help("to preserve natural pauses up to a maximum duration by overriding idle detection. Can enhance readability."), ) .arg( From 10815f52c834e8429488471a41c51d2c6773a5bb Mon Sep 17 00:00:00 2001 From: Sven Kanoldt Date: Sat, 15 Nov 2025 23:54:07 +0100 Subject: [PATCH 2/2] docs: update the readme for the new default value Signed-off-by: Sven Kanoldt --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 99c45bd..863b70f 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ Options: -s, --start-pause to specify the pause time at the start of the animation, that time the gif will show the first frame -i, --idle-pause to preserve natural pauses up to a maximum duration by overriding - idle detection. Can enhance readability. + idle detection. Can enhance readability. [default: 3s] -o, --output to specify the output file (without extension) [default: t-rec] -h, --help Print help -V, --version Print version @@ -185,6 +185,8 @@ t-rec --idle-pause 1s # Show 1 second of unchanged content before optimiz t-rec --idle-pause 500ms # Show 500ms of idle time ``` +NOTE: The default value is `3s`. + ### Enable shadow border decor In order to enable the drop shadow border decor you have to pass `-d shadow` as an argument. If you only want to change