kewt

fun kewt(terminal: Terminal = AnsiTerminal(), content: KewtApp.() -> Unit)(source)

Entry point for creating and running a Kewt TUI application.

This function initializes the terminal, sets up the application scope, and starts the main event loop.

Parameters

terminal

The Terminal implementation to use. Defaults to AnsiTerminal.

content

A lambda that configures the KewtApp instance.