Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[supershell] interactive tasks have a hard time with super shell #5122
sbt version: 1.3.2
Here's a minimal
It's not usable with super shell enabled.
In older version of sbt, or in 1.3.x with
However, with super shell, the interactive prompt flashes instantaneously and then is overwritten:
Even if you know the prompt, each character you type is quickly overwritten, so you never see the full word.
It seems like there must be some kind of way around this, as some interactive tasks seem okay. For example, in the
Looking at the sbt-pgp source code, the trick seems to be embedding the interaction in blocks synchronized on
...and the problem does seem to be resolved. The interaction is no longer overwritten.
So maybe there is no issue at all, that's the solution. But I am going to post this, as documentation in case anyone else encounters the same, um, issue.
But as long as supershell respects synchronization on