Releases: LegNeato/asciinema-rs
v0.5.1
v0.5.0
Added
-
The
--stdin
option is now supported when recording.Stdin recording allows for capturing of all characters typed in by the user
in the currently recorded shell. This may be used by a player
(e.g. asciinema-player) to display pressed keys. Because it's basically a
key-logger (scoped to a single shell instance), it’s disabled by default,
and has to be explicitly enabled via the--stdin
option.
Fixed
- The OpenSSL certificate error thrown when uploading to asciinema.org
using the pre-compiled Linux binary has been fixed (#40).
v0.4.0
Added
-
The
play
command is now supported for local and remote files (#32).Note: support for interactive features such as pausing playback will be added
in the future. -
Playback speed can be adjusted via
asciinema play --speed
. A value of2
would make playback twice as fast as realtime. A value of0.5
would make
playback half as fast as realtime. -
Playback idle time can be adjusted via
asciinema play --idle-time-limit
. A
value of2
would limit the playback idle time to a maximum of 2 seconds. -
The cursor can be hidden during playback via
asciinema play --hide-cursor
.
Fixed
-
When a local recording output file is specified, events are now written
to the file in realtime (#17).Previously the events were queued and written to the
output file at the end of the recording session.Note: Due to this change terminal-to-terminal streaming is now possible,
as mentioned in this asciinema blog post.Locally via a Unix pipe:
mkfifo /tmp/demo.pipe # viewing terminal asciinema play /tmp/demo.pipe # recording terminal asciinema rec /tmp/demo.pipe
Over the network via
netcat
:# viewing terminal (hostname: node123) asciinema play <(nc -l localhost 9999) # recording terminal asciinema rec >(nc node123 9999)
-
When appending to a recording via
asciinema rec --append
,
the header is no longer written.Previously the header was written regardless.
-
The terminal's width and height is correctly determined when recording during
another recording.Previously the interior's recording failed to detect the terminal size and instead set the width and height to zero.
v0.3.0
Added
-
Additional command aliases are now supported, allowing brevity or verbosity at your discretion (#12).
auth
: aliased toauthenticate
anda
cat
: aliased toconcatenate
andc
rec
: aliased torecord
andr
upload
: aliased toup
andu
-
The
--raw
option is now supported when recording (#19). Thanks @rleungx! 🍻 -
The environment variable
ASCIINEMA_REC
is set to1
in recorded process
environment variables (#21).As mentioned in the official client's usage, this can be used by your shell's config file (
.bashrc
,.zshrc
) to alter the prompt or play a sound when the shell is being recorded. -
SHELL
andTERM
environment variables are captured by default when recording (#7).
Fixed
-
All existing environment variables are now set in the recorded process as well.
Previously the recorded process did not inherit anything from the parent and instead had an empty environment.