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

REPL prompt is not on Linux #1423

Closed
t-sin opened this issue Jul 27, 2022 · 2 comments
Closed

REPL prompt is not on Linux #1423

t-sin opened this issue Jul 27, 2022 · 2 comments

Comments

@t-sin
Copy link

t-sin commented Jul 27, 2022

Hi, I'm a newbie for this interesting language. When I ran Carp's REPL on my Ubuntu machine, the prompt string is not sadly. I think that prompt is very nice so I want to be a default prompt on Linux. (I know I can set the prompt via Project.config)

But, with the current implementation, is set when running on mac. What the reason of this?

@eriksvedang
Copy link
Collaborator

Hi, and thanks for the question! I think the reason it's like this, is because only some terminal emulators on Linux support unicode. So there's a risk people will get gibberish output. On macOS the built in terminal supports unicode so it's a much safer bet there. So it's just a default to increase the likelihood that people get a nice first time experience. Hope that makes sense!

@t-sin
Copy link
Author

t-sin commented Jul 27, 2022

Thank you for the answer, it makes sense! My question is resolved I close this issue.

@t-sin t-sin closed this as completed Jul 27, 2022
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