Crate win_term

Crate win_term 

Source

Structs§

FontSize
Struct to hold font size information in terms of width and height.
TerminalSize
Struct to hold terminal size information in terms of width and height.

Enums§

TerminalError
Enum to represent possible errors that can occur while getting terminal or font size.

Functions§

get_size_of_the_font
This function retrieves the font size used by the terminal in pixels.
get_size_of_the_terminal
This function retrieves the size of the terminal window in pixels.