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

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

There is a newer version: 3.0.0-M0-67-83057fea
Show newest version
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