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

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

There is a newer version: 0.8.3-3
Show newest version
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