Dotty Documentation

0.11.0-bin-SNAPSHOT

final class JLineTerminal
extends Object with Closeable

[-] Constructors

JLineTerminal ( )

[-] Members

[+] private class Highlighter

Provide syntax highlighting

[+] private class Parser

Provide multi-line editing support

[+] private val history : DefaultHistory
[+] private val terminal : Terminal
[+] private def blue ( str: String ) ( implicit ctx: Context ) : String
[+] def close ( ) : Unit
[+] private def newLinePrompt ( implicit ctx: Context ) : String
[+] private def prompt ( implicit ctx: Context ) : String
[+] def readLine ( completer: Completer ) ( implicit ctx: Context ) : String

Blockingly read line from System.in

This entry point into JLine handles everything to do with terminal emulation. This includes:

  • Multi-line support
  • Copy-pasting
  • History
  • Syntax highlighting
  • Auto-completions