-
Notifications
You must be signed in to change notification settings - Fork 77
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
alignment surprise when displaying tab-completions #114
Comments
Using I think you could convert the |
No; I gave up immediately when |
I understand a little better now, but the ANSI sequences generated by ansi-terminal aren't bracketed by |
I know the unformatted string (and consequently its length) when I construct the |
I tried using ANSI sequences in the
display
field, but it threw off the alignment of the presented completions:I naively tried inserting a call to
stringToGraphemes
inCompletion.makeLines
but realized that's a different sort of thing. What do you think about some way to strip out escape sequences or to provide a length directly?The text was updated successfully, but these errors were encountered: