Skip to content

Commit

Permalink
fix screen recording terminal sizing (#1130)
Browse files Browse the repository at this point in the history
  • Loading branch information
Schniz authored May 27, 2024
1 parent d9af62f commit 098bd52
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .ci/record_screen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ RECORDING_PATH=$DIRECTORY/screen_recording

(rm -rf "$RECORDING_PATH" &> /dev/null || true)

asciinema rec -c "$DIRECTORY/recorded_screen_script.sh" "$RECORDING_PATH"
asciinema rec \
--command "$DIRECTORY/recorded_screen_script.sh" \
--cols 70 \
--rows 17 \
"$RECORDING_PATH"
sed "s@$TEMP_DIR@~@g" "$RECORDING_PATH" | \
svg-term \
--window \
Expand Down
7 changes: 7 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sysinfo = "0.29.3"
thiserror = "1.0.44"
clap_complete = "4.3.1"
anyhow = "1.0.71"
indicatif = "0.17.8"
indicatif = { version = "0.17.8", features = ["improved_unicode"] }

[dev-dependencies]
pretty_assertions = "1.4.0"
Expand Down

0 comments on commit 098bd52

Please sign in to comment.