asciinema / asciicast2gif

Generate GIF animations from asciicasts (asciinema recordings)
MIT License
1.2k stars 83 forks source link

Characters disappear on \r\n on a Mac #58

Closed danieldietrich closed 2 years ago

danieldietrich commented 5 years ago

My configuration:

raw

Here is my.cast file.

{"version": 2, "width": 160, "height": 48, "timestamp": 1547824607, "idle_time_limit": 2.0, "env": {"SHELL": "/bin/bash", "TERM": "xterm-color"}}
[1.755951, "o", "\u001b]7;file://lambda.fritz.box/Users/daniel/git/_temp/emoji\u0007"]
[1.756594, "o", "\u001b[0;32mdaniel@lambda:\u001b[1;36m~/git/_temp/emoji $\u001b[0m "]
[2.503383, "o", "s"]
[2.761822, "o", "c"]
[2.93075, "o", "a"]
[3.009875, "o", "l"]
[3.099475, "o", "a"]
[3.357424, "o", "\r\n"]
[3.682702, "o", "Welcome to Scala 2.13.0-M5 (Java HotSpot(TM) 64-Bit Server VM, Java 11).\r\nType in expressions for evaluation. Or try :help.\r\n"]
[3.767008, "o", "\u001b[35m\r\nscala> \u001b[0m"]
[4.517136, "o", "p"]
[4.706965, "o", "r"]
[4.802309, "o", "i"]
[4.999767, "o", "n"]
[5.449637, "o", "t"]
[5.516957, "o", "l"]
[5.663558, "o", "n"]
[6.12289, "o", "("]
[6.452365, "o", "\""]
[6.981841, "o", "¯"]
[6.982159, "o", "\\"]
[6.982358, "o", "_"]
[6.98263, "o", "("]
[6.983019, "o", "ツ"]
[6.983259, "o", ")"]
[6.983471, "o", "_"]
[6.983731, "o", "/"]
[6.984017, "o", "¯"]
[7.392073, "o", "\""]
[7.599775, "o", ")"]
[8.093722, "o", "\r\n"]
[8.102277, "o", "                  ^\r\n"]
[8.102432, "o", "       \u001b[31merror: \u001b[0minvalid escape character\r\n"]
[8.102987, "o", "\u001b[35m\r\nscala> \u001b[0m"]
[9.563194, "o", "p"]
[9.692209, "o", "r"]
[9.759886, "o", "i"]
[9.950825, "o", "n"]
[9.995823, "o", "t"]
[10.131023, "o", "l"]
[10.333518, "o", "n"]
[10.777791, "o", "("]
[11.537262, "o", "r"]
[11.694776, "o", "a"]
[11.750917, "o", "w"]
[12.16211, "o", "\""]
[12.595306, "o", "¯"]
[12.595543, "o", "\\"]
[12.595756, "o", "_"]
[12.595967, "o", "("]
[12.59617, "o", "ツ"]
[12.59632, "o", ")"]
[12.596502, "o", "_/"]
[12.596639, "o", "¯"]
[12.954883, "o", "\""]
[13.067303, "o", ")"]
[13.718719, "o", "\r\n"]
[13.918152, "o", "¯\\_(ツ)_/¯\r\n"]
[13.923396, "o", "\u001b[35m\r\nscala> \u001b[0m"]
[16.025671, "o", ":quit\r\n"]
[16.05383, "o", "\u001b]7;file://lambda.fritz.box/Users/daniel/git/_temp/emoji\u0007"]
[16.054396, "o", "\u001b[0;32mdaniel@lambda:\u001b[1;36m~/git/_temp/emoji $\u001b[0m "]
[19.718719, "o", "\r\n"]
ku1ik commented 2 years ago

Closing as asciicast2gif is dead. Try https://github.com/asciinema/agg instead.