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

Emojis disappear and confuse the cursor position #292

Closed
fffergal opened this issue Jun 22, 2017 · 2 comments
Closed

Emojis disappear and confuse the cursor position #292

fffergal opened this issue Jun 22, 2017 · 2 comments
Labels
bug Bug that's either related to Blink Shell or prevents the user to use the app in normal conditions.
Milestone

Comments

@fffergal
Copy link

Symptoms are best case Emoji don't appear at all (0 width), worst case the cursor starts getting confused because a process (vim) is handling emoji widths and mosh isn't.

This is a long running thing on mosh, see mobile-shell/mosh#234 and mobile-shell/mosh#612 and mobile-shell/mosh#361. It sounds like it is caused by the client having a version of libc which doesn't know the width of emojis. The problem is really bigger than that, it should be expected that different machines have different definitions and rendering still works, but it's not easy because nobody knows what other machines are using. Mosh on the server sending the data might use one defintion, the running process on the server might be handling different width characters in its own way, and mosh on the client could have separate definition again.

That said, maybe Blink can link against an up to date libc and it will work in the common cases again? That said I have memories of it being really hard to use a separate libc to the system because everything uses it… Maybe just use a different wcwidth implementation?

Also maybe libc is up to date enough and this is caused by something completely different!

@carloscabanero
Copy link
Member

Emojis were working properly before. Behaviour now is weird, even in ssh or in the normal term.

@carloscabanero carloscabanero added the bug Bug that's either related to Blink Shell or prevents the user to use the app in normal conditions. label Oct 3, 2017
@carloscabanero carloscabanero added this to the Backlog milestone Oct 3, 2017
@yury yury added WIP Work In Progress RTT Ready to test on Test Flight and removed WIP Work In Progress labels Jan 22, 2018
@carloscabanero carloscabanero removed the RTT Ready to test on Test Flight label Feb 26, 2018
@carloscabanero
Copy link
Member

V10!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug that's either related to Blink Shell or prevents the user to use the app in normal conditions.
Projects
None yet
Development

No branches or pull requests

3 participants