Marcin Kulik
ed88e7fc36
Add "r" (resize) event as the first event when appending
...
This ensures the appended events are can rely on their assumed terminal
window size.
Addresses part of #636 .
2025-06-01 22:37:20 +02:00
Marcin Kulik
f29f112f0c
Automatically create parent dirs for recording path
...
Fixes #679
2025-06-01 09:37:33 +02:00
Marcin Kulik
8e5893e820
Fix terminal resizing in cat command
2025-05-31 21:07:08 +02:00
Marcin Kulik
74a40ff628
Merge pull request #682 from mustafamohsen/develop
2025-05-30 23:19:50 +02:00
Marcin Kulik
1c0bcdd4c2
Refactor ALiS event serialization
2025-05-30 22:05:04 +02:00
Mustafa Mohsen
26221f92d0
fix: typo in 'asciinema' in the authentication message
2025-05-30 22:49:13 +03:00
Marcin Kulik
31cc393efe
Include "x" (exit) event in ALiS stream
2025-05-30 21:48:39 +02:00
Marcin Kulik
2aec6f690b
Save session exit status in the recording file as "x" event
2025-05-29 21:17:44 +02:00
Marcin Kulik
0c16f90f8b
Slight refactoring of event serialization
2025-05-29 21:13:19 +02:00
Marcin Kulik
9f18c457ba
Return the exit status of session's main process with --return option
...
Closes #599
2025-05-29 18:02:40 +02:00
Marcin Kulik
136f0f4b20
Pass session title to the server
2025-05-29 13:40:59 +02:00
Marcin Kulik
30f3e1abce
Remove --server-url option from commands that don't use it
2025-05-29 13:34:14 +02:00
Marcin Kulik
8174e207f8
Upgrade player
2025-05-29 13:21:47 +02:00
Marcin Kulik
8bb99b1ca6
Upgrade avt
2025-05-29 13:05:41 +02:00
Marcin Kulik
81464a6ba2
Disable default features for many deps
2025-05-12 11:33:01 +02:00
Marcin Kulik
7abfcac374
Replace 73 deps with 71 lines of code
2025-05-12 10:52:40 +02:00
Marcin Kulik
22cd6eead3
Replace mime_guess dep with a simple function
2025-05-12 10:52:40 +02:00
Marcin Kulik
76ac4be5d7
Unmerge ugly use statements
2025-05-12 10:52:40 +02:00
Marcin Kulik
71fc63d164
Use FNV-1a hash instead of SHA2 for relay ID generation
2025-05-12 10:52:40 +02:00
Marcin Kulik
299242550d
Refactor cat command
2025-05-12 10:52:40 +02:00
Marcin Kulik
f5849abf76
Update README.md
2025-05-10 12:58:40 +02:00
Marcin Kulik
fc540b6639
Don't open input files twice in cat
2025-05-08 19:36:08 +02:00
Marcin Kulik
25c259bf1a
Improve append logic
2025-05-08 15:42:44 +02:00
Marcin Kulik
c4b1f0f636
Use the embedded player in split mode
2025-05-08 13:59:59 +02:00
Marcin Kulik
a0bfb2d952
Require at least one of -l / -r for stream command
2025-05-08 11:46:13 +02:00
Marcin Kulik
acb8ff9967
Fix typo
2025-05-08 10:52:31 +02:00
Marcin Kulik
f77cdce2cc
Bump version
v3.0.0-rc.4
2025-05-07 17:16:19 +02:00
Marcin Kulik
ec956e84eb
Rename --tty-size to --window-size
2025-05-07 17:15:30 +02:00
Marcin Kulik
65cd787072
Simplify config file
2025-05-07 16:54:20 +02:00
Marcin Kulik
ebc4b3b12b
Format code
2025-05-07 11:33:05 +02:00
Marcin Kulik
c62bbc70fb
Small tweaks to the new --resize option for play command
2025-05-06 21:14:54 +02:00
Marcin Kulik
bc2be215d2
Merge pull request #650 from gnachman/resizing
...
Add support for play -r.
2025-05-06 21:01:37 +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
6132e4d8d6
Improve error message
2025-05-06 20:36:24 +02:00
Marcin Kulik
8522328627
Require at least 2 args for cat command
2025-05-06 19:00:29 +02:00
Marcin Kulik
986a64d3cc
Make cat use first file's asciicast version
2025-05-06 18:56:32 +02:00
Marcin Kulik
dd6b9a3008
Fix loading of asciicast v1
2025-05-06 18:09:01 +02:00
Marcin Kulik
e4b888178f
Improve arg/var naming consistency
2025-05-06 17:34:12 +02:00
Marcin Kulik
d6cc282ed8
Support "-" as stdin/stdout shortcut filename for input/output
2025-05-06 16:33:05 +02:00
Marcin Kulik
8c589baf67
More tweaks to rec/stream/session cmdline options
2025-05-06 14:28:41 +02:00
Marcin Kulik
1a673358a7
nixfmt
2025-05-05 21:39:23 +02:00
Marcin Kulik
ee074c44d1
Add bashInteractive to nix dev shell
2025-05-05 21:35:30 +02:00
Marcin Kulik
b340d463c4
Use strings for flake input URLs
2025-05-05 21:20:22 +02:00
Marcin Kulik
2115303df2
Remove the --filename option for rec and session commands
...
Most of it can be done by using variable interpolation in a shell e.g.:
asciinema rec "${HOSTNAME}-${USER}-$(date +%s)-$$.cast"
2025-05-04 22:18:33 +02:00
Marcin Kulik
0dee9c5c6f
Avoid duplicate term type in the asciicast v3 header
2025-05-04 22:18:33 +02:00
Marcin Kulik
7beded912d
Downgrade some deps so it builds on MSRV
2025-05-04 14:04:50 +02:00
Marcin Kulik
b7e7d30f81
Remove redundant use
2025-05-04 14:04:33 +02:00
Marcin Kulik
01b506b782
Upgrade deps
2025-05-04 13:53:09 +02:00
Marcin Kulik
10a290f8d6
Upgrade clap
2025-05-04 13:53:09 +02:00
Marcin Kulik
588c860ee1
Make option names more clear
2025-05-04 13:53:09 +02:00