module

Crowbar::CLI::PlatformIO

Low-level platform stream abstraction for non-blocking stdin inspection

Class methods

has_data?(io : IO) : Bool

Checks whether an input IO stream has data available to read without blocking

Source
tty?(io : IO) : Bool

Checks whether an IO stream is connected to an interactive terminal/TTY

Source