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

What symbols are needed for REPL outputs? #242

Open
kescobo opened this issue Jul 25, 2023 · 5 comments
Open

What symbols are needed for REPL outputs? #242

kescobo opened this issue Jul 25, 2023 · 5 comments

Comments

@kescobo
Copy link

kescobo commented Jul 25, 2023

image

I thought that my terminal was using font with all the symbols I might need, but I'm getting this output. Just curious if there's a recommended font or a list of used glyphs

@tlienart
Copy link
Owner

Hahaha so much for using emojis in info stuff 😱 ; what you boxed in red should have shown as 1️⃣ . I'm using VS Code. My terminal is zsh but I don't think I use fancy fonts; as far as I could see in VSC it's Menlo, Monaco, 'Courier New', monospace.

It does suggest avoiding emojis for info messages though...

@kescobo
Copy link
Author

kescobo commented Jul 25, 2023

I really love the emojis though, don't get rid of them!

@tlienart
Copy link
Owner

I think there's a subset that's more widely supported, not sure how to figure that out though, and then we could restrict to it.

@kescobo
Copy link
Author

kescobo commented Jul 25, 2023

Hahaha so much for using emojis in info stuff 😱 ; what you boxed in red should have shown as 1️⃣ .

What happens when I try to make Chars out of those two... maybe this can help somehow?

image

@tlienart
Copy link
Owner

Right, so it looks like 1️⃣ is not part of the base emoji symbols here: https://github.com/JuliaLang/julia/blob/master/stdlib/REPL/src/emoji_symbols.jl whereas things like the hourglass ( "\\:hourglass_flowing_sand:" => "⏳",) or the lightbulb ("\\:bulb:" => "💡",) are. So probably the safest is to only use emojis from that list.

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

No branches or pull requests

2 participants