Skip to content

Make it possible to use colored completions - #48

Open
antocuni wants to merge 1 commit into
pyreadline:masterfrom
antocuni:master
Open

antocuni wants to merge 1 commit into
pyreadline:masterfrom
antocuni:master

Conversation

@antocuni

Copy link
Copy Markdown

With the current version of pyreadline, it is possible to use ANSI colors inside completions, but this leads to wrong alignment; for example, this is a screenshot of fancycompleter with the current version of pyreadline (after I forced fancycompleter to display colors):
image

Here is a screenshot of what happens with this PR:
image

…e in this case the length of the string is greater than the number of characters which are actually displayed
@eabase

eabase commented Jan 25, 2022 •

Copy link
Copy Markdown

akruis pushed a commit to science-computing/pyreadline that referenced this pull request Sep 21, 2023
…e in this case the length of the string is greater than the number of characters which are actually displayed

(cherry picked from commit 0ae2409)

pyreadline#48
from https://github.com/antocuni/pyreadline.git
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

Successfully merging this pull request may close these issues.

2 participants