asciinema-rs icon indicating copy to clipboard operation
asciinema-rs copied to clipboard

Replace `asciinema.org` in all messages when `url` is set.

Open LegNeato opened this issue 7 years ago • 3 comments

Users can set a different url in their config or as an env variable: https://asciinema.org/docs/config. We currently support this, but we don't change the hostname in messages to the user. If one is set, we should use the url's hostname rather than hardcoding asciinema.org.

LegNeato avatar Mar 13 '18 07:03 LegNeato

It seems that config-rs can not parse the asciinema's config files. Maybe we need to find another crate or change the config file format.

rleungx avatar Apr 17 '18 13:04 rleungx

Ugh, I didn't test and assumed it would work. If https://github.com/mehcode/config-rs/issues/66 gets fixed, this will be supported. There is also a workaround mentioned though I would prefer to have ini support upstream.

LegNeato avatar Apr 17 '18 19:04 LegNeato

On master I fixed the ini config file parsing by updating config-rs FWIW.

LegNeato avatar Nov 12 '18 19:11 LegNeato