mirror of
https://github.com/sbt/sbt.git
synced 2026-08-29 17:38:02 +02:00
It was a bit tricky to reason about the state of the prompt for a terminal. To help make things more clear, I reworked things so that the LineReader always sets the prompt to Pending after it reads a command. In MainLoop, we cache the prompt value and temporarily set it to Running while the command is running, which is really how it should have always been.