TodoApp

terminus.TodoApp
object TodoApp extends TerminalApp[List[String]]

Attributes

Graph
Supertypes
trait TerminalApp[List[String]]
class Object
trait Matchable
class Any
Self type
TodoApp.type

Members list

Type members

Classlikes

enum Message

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class State(ticks: Int, todos: List[String], selected: Int)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object State

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
State.type

Inherited classlikes

enum Handled

Attributes

Inherited from:
TerminalApp
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def command(key: String, description: String): View
def handleInput(state: State, input: KeyCode | Message): Handled
def render(state: State): View

Inherited methods

final def run(initialState: State): Option[List[String]]

Attributes

Inherited from:
TerminalApp

Concrete fields

val commands: View