Releases: asciinema/asciinema-player
3.8.1
3.8.0
Notable changes:
- added support for colons in SGR color sequences - fixes (asciinema/avt#9, #154, #231)
- added support for
auto/<theme-name>
specification fortheme
option (see below) - added help overlay, triggered by "?" key
- improved adaptive buffering algorithm in the websocket driver
- improved rendering of block drawing characters
- made text of the time display and marker tooltips bigger
- made the control bar and markers use terminal theme's foreground and background colors
- added tooltip for the fullscreen button
- added
"type": "module"
to package.json to fix import error with some bundlers (thanks @MaddyGuthridge) - fixed player element focus behavior when clicking on a marker dot or the playback toggle button
https://www.npmjs.com/package/asciinema-player/v/3.8.0
Recordings made with asciinema CLI 3.0 or later may embed original terminal theme, which is used by the player when available.
Before this release the only way to let the player use the embedded theme automatically was not specifying the theme
option when initializing the player. When the theme
option was not used, the player favored the embedded theme, falling back to asciinema
theme. There was no way to specify "use the original theme when available, fall back to monokai".
This release adds the ability to specify the above wish as { theme: "auto/monokai" }
. You can use any built-in theme, e.g. { theme: "auto/dracula" }
, and the player will use Dracula theme if the original theme was not captured at the time of recording.
To always use a specific theme regardless of the presence of the original theme in a recording file, use { theme: "<theme-name>" }
, e.g. { theme: "dracula" }
.
Default value of the theme
option (when one not specified) is now auto/asciinema
.
3.7.2-rc.7
v3.7.2-rc.7 Bump version
3.7.2-rc.6
v3.7.2-rc.6 Bump version
3.7.2-rc.5
v3.7.2-rc.5 Fix npm auth in GH actions
3.7.2-rc.4
v3.7.2-rc.4 Bump version
3.7.2-rc.3
v3.7.2-rc.3 Bump version
3.7.2-rc.2
v3.7.2-rc.2 Bump version
3.7.2-rc.1
v3.7.2-rc.1 Bump version
3.7.1
Notable changes:
- greatly improved rendering (position, alignment, accuracy) of ascii drawing, block elements, braille patterns and Powerline triangle symbols
- fixed alignment of double-width chars (such as CJK, emoji)
- new adaptive algorithm for buffering in live (websocket) driver, ensuring smooth playback on high-latency or high-jitter network connections
- minor rendering performance improvement via UI updates batching
- improved visibility of play button's drop shadow for themes with light background
- code refactorings and cleanup
https://www.npmjs.com/package/asciinema-player/v/3.7.1
Demo showing the improved rendering in general:
Screenshots showing the fixes to the character alignment and positioning: