Consoles · Term.jl

# Consoles

- `Term.console.Consoles`
- `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.Consoles` — Type

    Consoles

The `Consoles` object stores information about the dimensions of the output(::IO) where objects will be printed

source
`Term.console.console_height` — Method

    console_height()

Get the current console height.

source
`Term.console.console_width` — Method

    console_width()

Get the current console width.

source
`Term.console.tprint` — Function

    tprint

Similar to standard lib's `print` function but with added styling functionality

source
`Term.console.tprint` — Method

    tprint(x::AbstractString)

Apply style to a string and print it to a new line

source
`Term.console.tprint` — Method

    tprint(x)

When no dedicated method is present, print the string representation

source
`Term.console.tprint` — Method

    tprint(x::Function)

Print highlighted as a Function

source
`Term.console.tprint` — Method

    tprint(x::Number)

Print highlighted as a Number

source
`Term.console.tprint` — Method

    tprint(x::Symbol)

Print highlighted as a Symbol

source
`Term.console.tprint` — Method

    tprint(x::AbstractRenderable)

Print an `AbstractRenderable`.

Equivalent to `println(x)`

source

Theme

This document was generated with Documenter.jl version 0.27.14 on Wednesday 9 March 2022. Using Julia version 1.6.5.