You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I used λ as a prompt message, ocaml-linenoise displayed a cursor at a wierd position.
For example, when I typed abc (without a space), my terminal displays something like this.
λ abc _
^ Here is a weird space
What you expected
ocaml-linenoise handles λ (and any other UTF-8 encoded characters) in a proper way so that it places characters and the cursor at expected positions like the following.
Description
After I used
λ
as a prompt message,ocaml-linenoise
displayed a cursor at a wierd position.For example, when I typed
abc
(without a space), my terminal displays something like this.What you expected
ocaml-linenoise
handlesλ
(and any other UTF-8 encoded characters) in a proper way so that it places characters and the cursor at expected positions like the following.Reproduction
https://github.com/Ailrun/ocaml-linenoise-issue-13
This repository also includes instructions to reproduce the bug.
The text was updated successfully, but these errors were encountered: