All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ammonite.repl.api.FrontEnd.scala Maven / Gradle / Ivy

package ammonite.repl.api

import java.io.{InputStream, OutputStream}

import ammonite.util.{Colors, Res}

/** JLine interface */
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