Package-level declarations

Types

Link copied to clipboard
expect object PlatformIO

Provides low-level input and output operations for the terminal.

actual object PlatformIO

Provides low-level input and output operations for the terminal.

Link copied to clipboard
enum PosixSignal : Enum<PosixSignal>

Enumeration of supported POSIX signals.

Link copied to clipboard
expect object RawMode

Manages the terminal's raw mode state.

actual object RawMode

Manages the terminal's raw mode state.

Link copied to clipboard
expect object SignalHandler

Manages registration of handlers for POSIX signals.

actual object SignalHandler

Manages registration of handlers for POSIX signals.

Link copied to clipboard
data class Size(val width: Int, val height: Int)

Represents a two-dimensional size in characters.

Link copied to clipboard
actual object TerminalSize

Utilities for querying the terminal's physical dimensions.

expect object TerminalSize

Utilities for querying the terminal's physical dimensions.

actual object TerminalSize

Utilities for querying the terminal's physical dimensions.

Functions

Link copied to clipboard
expect fun currentTimeMs(): Long

Returns the current system time in milliseconds.

actual fun currentTimeMs(): Long

Returns the current system time in milliseconds.

Link copied to clipboard
expect fun getEnv(name: String): String?

Retrieves the value of an environment variable.

actual fun getEnv(name: String): String?

Retrieves the value of an environment variable.