scalata.infrastructure.view.terminal.jline

Members list

Type members

Classlikes

object JLineApp extends IOApp

Command-line entry-point of Scalata’s terminal UI using JLine as I/O.

Command-line entry-point of Scalata’s terminal UI using JLine as I/O.

Attributes

Returns

an cats.effect.ExitCode: • ExitCode.Success (0) on graceful termination; • ExitCode.Error (1) on unrecoverable failure.

Supertypes
trait IOApp
class Object
trait Matchable
class Any
Self type
JLineApp.type
final class JLineView[F[_]] extends GameView[F, String]

Console implementation of GameView using JLin.

Console implementation of GameView using JLin.

Uses ANSI escape sequences to clear the screen and reads input via JLine library, which is blocking.

Attributes

See also

GameView for method-level semantics

Companion
object
Supertypes
trait GameView[F, String]
class Object
trait Matchable
class Any
object JLineView

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
JLineView.type