mirror of https://github.com/sbt/sbt.git
Certain tasks may prefer to have the input set to raw mode and/or have echo off. The specific use case is that it is difficult to get the ammonite console to work correctly with the thin client. The problem is that the ammonite console runs some tty commands. These commands will only work on the tty of the thin client when the thin client itself has launched the sbt server session (since they share the same tty). Once the thin client that launched the server exits, the ammonite console will never work again with that server session. A workaround is to launch sbt separately and leave that server session open. Then, if the run task is configured with canonical input set to false and echo disabled, the thin client will work. In the future, it's possible that ammonite could be updated to not rely on calling stty commands and then the thin client could work with the ammonite console even after the initial thin client session has exited provided canonical input and echo are disabled. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||