kkawakam / rustyline

Readline Implementation in Rust
https://crates.io/crates/rustyline/
MIT License
1.5k stars 173 forks source link

feat: add openmpi compatibility feature #754

Open HoloTheDrunk opened 7 months ago

HoloTheDrunk commented 7 months ago

What?

Simple OpenMPI compatibility fix.

Why?

OpenMPI takes control of a lot of things terminal-wise, leading to any terminal effectively acting as if unsupported, which in turn ends up breaking the prompt since this is not visible from the TERM environment variable.

How?

Feature flag + OpenMPI environment variable check during terminal support check.