Marcin Kulik
a7d33677da
Fix clippy warnings
2026-08-13 17:37:14 +02:00
Filipe Pina
29ca3981c0
Allow play to stream events ( #724 )
...
* allow `play` to stream events
* Apply rustfmt formatting to v2.rs
Split long function signature across multiple lines for better readability.
Generated with [Claude Code](https://claude.ai/code )
via [Happy](https://happy.engineering )
Co-Authored-By: Claude <noreply@anthropic.com >
Co-Authored-By: Happy <yesreply@happy.engineering >
---------
Co-authored-by: fopina-ci <48487232+fopina-ci@users.noreply.github.com >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Happy <yesreply@happy.engineering >
2026-02-10 21:05:22 +01:00
Marcin Kulik
9a5f7c7064
Refactor TTY probing
2026-02-02 11:45:28 +01:00
Marcin Kulik
81e3ad8bea
Remove redundant delay calc
2025-10-17 16:49:38 +02:00
Marcin Kulik
0e29511db3
Use Duration instead of u64 for event timestamps
2025-10-17 16:39:09 +02:00
Marcin Kulik
abbd2a7ac6
Bring back previous simpler impl read/write in Tty trait
2025-06-22 16:02:34 +02:00
Marcin Kulik
ac4e92dfc4
Refactor tty module
2025-06-20 11:44:36 +02:00
Marcin Kulik
caf0cf3707
Refactor session/pty/tty
2025-06-11 17:50:30 +02:00
Marcin Kulik
c62bbc70fb
Small tweaks to the new --resize option for play command
2025-05-06 21:14:54 +02:00
George Nachman
5ec65c9a29
Add support for play -r.
...
The new -r or --resize option causes asciinema to send CSI 8 ; width ; height t
for "r" commands in the asciicast. This causes the terminal window to resize as
it did during the recording. It also sets the size initially. Resizing is off by
default for backward compatibility.
2025-05-06 21:01:14 +02:00
Marcin Kulik
01b506b782
Upgrade deps
2025-05-04 13:53:09 +02:00
Marcin Kulik
287daeda31
Group use statements
2025-03-25 23:10:15 +01:00
Marcin Kulik
0768922aff
Rename Reader -> Asciicast, split asciicast module into submodules
2024-01-23 21:43:04 +01:00
Marcin Kulik
364c92484a
Refactor recorder's Output trait and its implementations
2024-01-23 11:52:28 +01:00
Marcin Kulik
1b2543f82d
Return Reader struct from asciicast::open() instead of an anonymous tuple
2024-01-20 22:35:20 +01:00
Marcin Kulik
ee469a77c1
Add info messages for play command
2024-01-19 16:23:02 +01:00
Marcin Kulik
1b050c6125
Use is_empty() instead of comparing len()
2024-01-13 12:45:34 +01:00
Marcin Kulik
fb65d35e00
Use byte literals instead of casting as u8
2024-01-13 12:45:16 +01:00
Marcin Kulik
9722c9fbf2
Represent keys in key bindings as raw bytes (Vec<u8>)
2024-01-12 11:18:14 +01:00
Marcin Kulik
8479035dc4
Config file options for play command key bindings
...
Example:
[cmd.play]
pause_key = "^p"
step_key = "s"
next_marker_key = "n"
2024-01-10 17:00:08 +01:00
Marcin Kulik
be3ccac0c3
Use blocking stdout instead of non-blocking tty for output in the player
...
Fixes `asciinema play` for some cases.
2024-01-10 10:35:57 +01:00
Marcin Kulik
f3498859a3
Use DevTty with the player
2024-01-09 17:11:54 +01:00
Marcin Kulik
683b712dfd
Fix handling of terminal answerbacks (ignore them) in play command
2024-01-08 14:27:38 +01:00
Marcin Kulik
d83a3d3133
Fix typo
2024-01-08 11:16:33 +01:00
Marcin Kulik
6fb090b9bb
Implement keyboard control and --pause-on-markers in play command
2024-01-03 22:22:53 +01:00
Marcin Kulik
b2b612cd92
Explicitly pass stdout as output (sink) to the play function
2024-01-02 21:52:08 +01:00
Marcin Kulik
cf936b92bf
Implement speed and idle time limiting for play command
2024-01-02 20:53:43 +01:00
Marcin Kulik
da8f55d343
Ensure all data is written to stdout in play
2024-01-02 17:32:58 +01:00
Marcin Kulik
6e380cf245
New implementation of play command (basic version)
2024-01-02 16:09:38 +01:00