Option to override cols/rows of the recorded process

This adds `--cols <n>` / `--rows <n>` options to `rec` command. This disables
autodection of terminal size, and reports fake fixed number of columns/rows to
the recorded process.
This commit is contained in:
Marcin Kulik
2022-02-16 23:01:15 +01:00
parent 41d2476c11
commit fd09df89f6
8 changed files with 83 additions and 29 deletions

View File

@@ -228,6 +228,8 @@ Available options:
to `SHELL,TERM`
- `-t, --title=<title>` - Specify the title of the asciicast
- `-i, --idle-time-limit=<sec>` - Limit recorded terminal inactivity to max `<sec>` seconds
- `--cols=<n>` - Override terminal columns for recorded process
- `--rows=<n>` - Override terminal rows for recorded process
- `-y, --yes` - Answer "yes" to all prompts (e.g. upload confirmation)
- `-q, --quiet` - Be quiet, suppress all notices/warnings (implies -y)