Runner

view.tui.runner.Runner
trait Runner

Used for view.tui.Tui to read from the standard input or another source and to run code in a controlled environment

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def readLine(prompt: String): String

Reads user input

Reads user input

Value parameters

prompt

the prompt to display

Attributes

Returns

the line read from standard input or another source

def run(run: () => Unit): Unit

Runs the given function in a controlled environment.

Runs the given function in a controlled environment.

Value parameters

run

the function to run

Attributes