ammonite.repl.FrontEnd.scala Maven / Gradle / Ivy
package ammonite.repl
import java.io.{InputStream, OutputStream}
import ammonite.util.{Colors, Res}
/**
* All the mucky JLine interfacing code
*/
trait FrontEnd{
def width: Int
def height: Int
def action(input: InputStream,
reader: java.io.Reader,
output: OutputStream,
prompt: String,
colors: Colors,
compilerComplete: (Int, String) => (Int, Seq[String], Seq[String]),
history: IndexedSeq[String],
addHistory: String => Unit): Res[(String, Seq[String])]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy