Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Options:
-s, --start-pause <s | ms | m> to specify the pause time at the start of the animation, that time
the gif will show the first frame
-i, --idle-pause <s | ms | m> 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 <file> to specify the output file (without extension) [default: t-rec]
-h, --help Print help
-V, --version Print version
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Loading