[all-commits] [llvm/llvm-project] ca0866: [LLDB][Editline] empty current line before `el_wge...

Kiva via All-commits all-commits at lists.llvm.org
Thu Nov 6 19:40:59 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca0866bf6dcee8856a8d9a6d88ec236c9c68baa1
      https://github.com/llvm/llvm-project/commit/ca0866bf6dcee8856a8d9a6d88ec236c9c68baa1
  Author: Kiva <imkiva at islovely.icu>
  Date:   2025-11-07 (Fri, 07 Nov 2025)

  Changed paths:
    M lldb/source/Host/common/Editline.cpp
    M lldb/test/API/terminal/TestEditline.py

  Log Message:
  -----------
  [LLDB][Editline] empty current line before `el_wgets` (#165830)

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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list