mirror of https://github.com/sbt/sbt.git
Merge pull request #1771 from dwickern/0.13
Fix logger not overwriting the previous line in alternate shells
This commit is contained in:
commit
023a27f5d8
|
|
@ -16,7 +16,7 @@ object ConsoleOut {
|
||||||
cur.contains(s) && prev.contains(s)
|
cur.contains(s) && prev.contains(s)
|
||||||
|
|
||||||
/** Move to beginning of previous line and clear the line. */
|
/** Move to beginning of previous line and clear the line. */
|
||||||
private[this] final val OverwriteLine = "\r\u001BM\u001B[2K"
|
private[this] final val OverwriteLine = "\u001B[A\r\u001B[2K"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ConsoleOut instance that is backed by System.out. It overwrites the previously printed line
|
* ConsoleOut instance that is backed by System.out. It overwrites the previously printed line
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue