Class
Terminal
Generic console that uses a mixture of Swift standard library and Foundation code to fulfill protocol requirements.
final class Terminal
Topics
Initializers
init()Create a new Terminal.
Instance Properties
var size: (width: Int, height: Int)SeeConsolevar userInfo: [AnySendableHashable : any Sendable]SeeConsole
Instance Methods
func clear(ConsoleClear)SeeConsolefunc input(isSecure: Bool) -> StringSeeConsolefunc output(ConsoleText, newLine: Bool)SeeConsolefunc report(error: String, newLine: Bool)SeeConsole
Relationships
Conforms To
ConsoleSwift.SendableSwift.SendableMetatype