Deprecate unused ConsoleUnpromptEvent

This commit is contained in:
Ethan Atkins
2020-05-01 12:28:44 -07:00
parent 2f4c603be6
commit cd65543d10
4 changed files with 4 additions and 20 deletions
@@ -62,4 +62,5 @@ case class ConsolePromptEvent(state: State) extends EventMessage
/*
* This is a data passed specifically for unprompting local console.
*/
@deprecated("No longer used", "1.4.0")
case class ConsoleUnpromptEvent(lastSource: Option[CommandSource]) extends EventMessage
@@ -51,18 +51,6 @@ private[sbt] final class ConsoleChannel(val name: String) extends CommandChannel
askUserThread = Some(x)
x.start()
}
case e: ConsoleUnpromptEvent =>
e.lastSource match {
case Some(src) if src.channelName != name =>
askUserThread match {
case Some(_) =>
// keep listening while network-origin command is running
// make sure to test Windows and Cygwin, if you uncomment
// shutdown()
case _ =>
}
case _ =>
}
case _ => //
}