mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
This PR fixes #157637 by printing ANSI sequence "\r\x1b[K" to empty the line before calling to `el_wgets`. Later when `el_wgets` prints the real prompt, all wrongly printed characters are removed from the terminal.