E:V:A <xdae3...@gmail.com> added the comment:
I would like to make the python community aware that there has recently been a renewed interest in updating and maintaining 'pyreadline', but in a new(ish) repository 'pyreadline3'. https://github.com/pyreadline3/pyreadline3 This apparently now works under Py3.10, but there are some minor issues with how pyreadline handles ANSI escape sequences for coloring auto completion etc. This is probably due to the code developed for the older/original Windows cmd/powershell use of 4-bit ANSI colors, no longer being able to handle 256 or RGB. There was a PR for that, but because that PR is aged it seem limited to older 4-bit ANSI's, since it is using a RegEx for stripping the sequences to calculate the actual line length. [OT. This also bring up the question where the function "rl_expand_prompt()" (handling RL_PROMPT_START_IGNORE and RL_PROMPT_END_IGNORE) was moved, as it can't be found in the cpython codebase. (https://github.com/python/cpython/blob/main/Modules/readline.c) The equivalent HEX for those _does_ work, at least for the prompt, but maybe they are handled on the windows side?] ---------- nosy: +E3V3A _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45870> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com