Enumeration
ConsoleClear
Supported methods for clearing the
Console.enum ConsoleClear
Overview
See clear(_:)
Topics
Enumeration Cases
case lineDeletes the last line that was printed to theConsole.case screenClears the entire viewable area of theConsole.
Relationships
Conforms To
Swift.EquatableSwift.Hashable
See Also
Terminal
protocol ConsoleProtocol for powering styled Console I/O.class TerminalGeneric console that uses a mixture of Swift and C standard libraries to fulfill protocol requirements.enum ConsoleColorSupported colors for creating aConsoleStyleforConsoleText.struct ConsoleStyleRepresentation of a style for outputting to a Console in different colors with differing attributes. A few suggested default styles are provided.struct ConsoleTextA collection ofConsoleTextFragments. Represents stylized text that can be outputted to aConsole.struct ConsoleTextFragmentfunc + (ConsoleText, ConsoleText) -> ConsoleTextAppends aConsoleTextto anotherConsoleText.func += (inout ConsoleText, ConsoleText)Appends aConsoleTextto anotherConsoleTextin-place.extension StringProtocol