Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dim/faint not working properly #236

Closed
liclac opened this issue Feb 22, 2017 · 4 comments
Closed

dim/faint not working properly #236

liclac opened this issue Feb 22, 2017 · 4 comments

Comments

@liclac
Copy link

liclac commented Feb 22, 2017

I'm not 100% sure if this is a bug on asciinema.org or asciinema-player.

The dim/faint color attribute doesn't show up properly in the web player.

Running this script:

#!/bin/bash

printf "\n"
printf "    _   __                           __   \e[2m______      _       __ \e[0m\n"
printf "   / | / /___  _________ ___  ____ _/ /  \e[2m/ ____/___ _(_)___  / /_\e[0m\n"
printf "  /  |/ / __ \/ ___/ __ ´__ \/ __ ´/ /  \e[2m/ /_  / __ ´/ / __ \/ __/\e[0m\n"
printf " / /|  / /_/ / /  / / / / / / /_/ / /  \e[2m/ __/ / /_/ / / / / / /_  \e[0m\n"
printf "/_/ |_/\____/_/  /_/ /_/ /_/\__,_/_/  \e[2m/_/    \__,_/_/_/ /_/\__/  \e[0m\n"
printf "\n"

Produces the expected output in a terminal:

screen shot 2017-02-22 at 19 24 56

screen shot 2017-02-22 at 19 28 06

But not on asciinema.org:

@ku1ik
Copy link
Contributor

ku1ik commented Feb 22, 2017

Yes, asciinema-player doesn't support \e[2m (yet). Thanks for bringing this up.

@liclac
Copy link
Author

liclac commented Feb 22, 2017

Should I repost this on asciinema-player?

@ku1ik
Copy link
Contributor

ku1ik commented Feb 23, 2017

That would be great, thanks!

@liclac
Copy link
Author

liclac commented Feb 23, 2017

There: asciinema/asciinema-player#52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants