[all-commits] [llvm/llvm-project] 85a5d0: [REPL][Windows] Don't redraw the prompt into redir...
Charles Zablit via All-commits
all-commits at lists.llvm.org
Wed Sep 30 09:52:02 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 85a5d0a53df92dc384058e8738777f81a78a0f69
https://github.com/llvm/llvm-project/commit/85a5d0a53df92dc384058e8738777f81a78a0f69
Author: Charles Zablit <c_zablit at apple.com>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
M lldb/source/Core/IOHandler.cpp
Log Message:
-----------
[REPL][Windows] Don't redraw the prompt into redirected REPL output (#227755)
On Windows without `libedit`, `IOHandlerEditline::PrintAsync` re-printed
the prompt after every async output chunk, even when stdout is not a
console. When REPL output is redirected, as in lit tests, `"> "` lands
in the middle of the program's output, which made `SwiftREPL` tests like
`ExclusivityREPL` flaky.
The prompt is now redrawn only when the handler is interactive and
stdout is a console that can erase it.
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