Console
Term.console.Console
Term.console.console_height
Term.console.console_width
Term.console.tprint
Term.console.tprint
Term.console.tprint
Term.console.tprint
Term.console.tprint
Term.console.tprint
Term.console.tprint
Term.console.Console
— TypeConsole
The Console
object stores information about the dimensions of the output(::IO) where objects will be printed
Term.console.console_height
— Methodconsole_height()
Get the current console height.
Term.console.console_width
— Methodconsole_width()
Get the current console width.
Term.console.tprint
— Functiontprint
Similar to standard lib's print
function but with added styling functionality
Term.console.tprint
— Methodtprint(x::AbstractString)
Apply style to a string and print it to a new line
Term.console.tprint
— Methodtprint(x)
When no dedicated method is present, print the string representation
Term.console.tprint
— Methodtprint(x::Function)
Print highlighted as a Function
Term.console.tprint
— Methodtprint(x::Number)
Print highlighted as a Number
Term.console.tprint
— Methodtprint(x::Symbol)
Print highlighted as a Symbol
Term.console.tprint
— Methodtprint(x::AbstractRenderable)
Print an AbstractRenderable
.
Equivalent to println(x)