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

lolcat fails with emoji #75

Open
ggrpmnn opened this issue Jun 5, 2018 · 2 comments
Open

lolcat fails with emoji #75

ggrpmnn opened this issue Jun 5, 2018 · 2 comments

Comments

@ggrpmnn
Copy link

ggrpmnn commented Jun 5, 2018

I pipe a few scripts through lolcat because rainbow output is awesome. However, I noticed that when a script includes an emoji in its output (such as 🍺 from certain homebrew output lines), lolcat fails at the emoji and the remaining output is dropped.

For reference, I'm on OSX 10.13.4 and installed lolcat using homebrew.

@m-o-e
Copy link
Member

m-o-e commented Jul 4, 2018

What does lolcat --version say for you?

it works fine on v99.9.11 for me, possibly the version in homebrew is outdated.

@ggrpmnn
Copy link
Author

ggrpmnn commented Jul 5, 2018

The version that I have (via brew) on my machine is the same - 99.9.11.
screen shot 2018-07-05 at 9 35 02 am

Here's an example of what I see:
screen shot 2018-07-05 at 9 29 55 am

The script should continue to execute and update the other brews listed as outdated (example list is included in the screenshot). However, when it gets to the line that notifies that a package has been updated successfully (which begins with the 🍺 emoji), lolcat seems to have an issue and drop the rest of output.

As another clarification, I'm invoking lolcat by calling: > myscript | lolcat. The script works normally (and completely) when I just call > myscript.

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