mirror of
https://github.com/wez/wezterm.git
synced 2024-11-28 17:23:26 +03:00
de8c2f17d8
The idea is that these will help folks convey the nature of problems that they might hit in the future.
17 lines
327 B
Bash
Executable File
17 lines
327 B
Bash
Executable File
#!/bin/sh
|
|
# Replays a recorded session
|
|
TRANSCRIPT="$1"
|
|
|
|
if test -z "$TRANSCRIPT" -o ! -f "$TRANSCRIPT" ; then
|
|
echo "usage: wt-replay TRANSCRIPT.tgz"
|
|
exit 1
|
|
fi
|
|
|
|
WHERE=`mktemp -d`
|
|
tar xzf "$TRANSCRIPT" -C $WHERE
|
|
|
|
echo "--- Starting replay ---"
|
|
scriptreplay $WHERE/*.timing $WHERE/*.typescript
|
|
echo "--- replay complete ---"
|
|
|