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

Weird character shown in FreeBSD terminal on OSX. #19

Closed
emanzx opened this issue Jan 9, 2018 · 5 comments
Closed

Weird character shown in FreeBSD terminal on OSX. #19

emanzx opened this issue Jan 9, 2018 · 5 comments

Comments

@emanzx
Copy link

emanzx commented Jan 9, 2018

When using prompt.ask my terminal produce this weird char.
image

and why each time question is ask there is "?" infront and the box will cut out.

@burke
Copy link
Member

burke commented Jan 9, 2018

This seems to be the bit generated by readline. We're passing pre-escaped ANSI escape codes to readline via Readline.readline(...) in ruby. It's unfortunate that readline seems to be mangling them. I'm not sure how to work around this.

@burke
Copy link
Member

burke commented Jan 9, 2018

@emanzx
Copy link
Author

emanzx commented Jan 18, 2018

what should I do? update the readline? because it works ok on mac directly..

@burke
Copy link
Member

burke commented Jan 19, 2018

I'm not really sure. It feels like it should be a version thing -- I doubt macOS uses GNU readline.

@lugray
Copy link
Contributor

lugray commented Nov 19, 2018

I suspect this was fixed by #42. Could you please try updating and comment if this is still an issue?

@lugray lugray closed this as completed Nov 19, 2018
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

3 participants