pex-tool / pex

A tool for generating .pex (Python EXecutable) files, lock files and venvs.
https://docs.pex-tool.org/
Apache License 2.0
2.84k stars 266 forks source link

Fix PEX repl prompt for Linux PBS libedit. #2503

Closed jsirois closed 3 months ago

jsirois commented 3 months ago

Previously the ansi terminal escape sequences were being displayed raw instead of being interpreted as color codes by the terminal. This was noticed when using a PEX scie since the Linux PBS CPython builds use a an un-patched version of libedit that does not handle ansi terminal escape sequences unless finessed like we do now.