From 1d929ff8f4766f64fe763780b53cd6fb4d07822a Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Sun, 21 Apr 2024 23:14:31 +0200 Subject: [PATCH] Link to CLI install pages from the stream page --- .../controllers/live_stream/show.html.heex | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/asciinema_web/controllers/live_stream/show.html.heex b/lib/asciinema_web/controllers/live_stream/show.html.heex index 7486fffd7..32641c207 100644 --- a/lib/asciinema_web/controllers/live_stream/show.html.heex +++ b/lib/asciinema_web/controllers/live_stream/show.html.heex @@ -100,7 +100,10 @@

How to stream

-

asciinema CLI (3.0+):

+

+ asciinema CLI 3.0: +

+ <.input name="rec-cmd-asciinema-streamer" data-behavior="auto-select" @@ -109,8 +112,10 @@ />

- asciinema CLI (2.2+) + websocat: + asciinema CLI 2.2+ + + websocat:

+ <.input name="rec-cmd-asciinema-websocat" data-behavior="auto-select" @@ -122,6 +127,7 @@ script + websocat: +
# in shell 1
 mkfifo live.pipe
 websocat --binary <%= ws_producer_url(@stream) %> <live.pipe