Commit Graph

1579 Commits

Author SHA1 Message Date
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
Marcin Kulik
f0f74e92f5 Move global options to the end of the list in the help message 2025-05-04 13:46:59 +02:00
Marcin Kulik
3c1de97251 Add test for loading asciicast v3 2025-05-03 15:58:52 +02:00
Marcin Kulik
07af5ec3f0 Test for timestamp 2025-05-03 15:44:22 +02:00
Marcin Kulik
16d56a54e5 Use anyhow's .context() when bubbling up errors 2025-04-24 13:50:19 +02:00
Marcin Kulik
c2b3936d1a Add asciicast v3 support, record and convert to v3 by default 2025-04-24 13:31:21 +02:00
Marcin Kulik
14b3746971 Exclude blank values from query string in stream producer URL 2025-04-18 22:29:31 +02:00
Marcin Kulik
b0a75ae52d Warn when no outputs enabled for session command 2025-04-15 15:14:14 +02:00
Marcin Kulik
4aced695d6 Rename logger module to status 2025-04-12 07:59:04 +02:00
Marcin Kulik
0facb54373 Prevent duplicate notice 2025-04-12 07:49:27 +02:00
Marcin Kulik
cbdd0a48f2 Query for XTVERSION, pass it to file writer and stream forwarder 2025-04-11 23:30:02 +02:00
Marcin Kulik
02ad03f815 Code tweaks 2025-04-10 11:46:35 +02:00
Marcin Kulik
8114f61886 Quicker failure path in terminal theme querying 2025-04-10 11:13:53 +02:00