mirror of
https://github.com/sbt/sbt.git
synced 2026-08-31 18:24:30 +02:00
Deprecate unused ConsoleUnpromptEvent
This commit is contained in:
@@ -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 _ => //
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user