![]() |
Shamrock 2025.10.0
Astrophysical Code
|
This file contains implementations of tty info getters. More...
Include dependency graph for tty.cpp:Go to the source code of this file.
Namespaces | |
| namespace | shamcmdopt |
| namespace for cli utilities | |
Functions | |
| bool | shamcmdopt::is_a_tty () |
| Test if current terminal is a tty. | |
| void | shamcmdopt::set_tty_columns (u32 columns) |
| Set the forced width of the terminal. | |
| std::pair< u32, u32 > | shamcmdopt::get_tty_dim () |
| Get the number of columns and lines of the current terminal. | |
| u32 | shamcmdopt::get_tty_columns () |
| Get the number of columns of the current terminal. | |
| u32 | shamcmdopt::get_tty_lines () |
| Get the number of lines of the current terminal. | |
Variables | |
| u32 | shamcmdopt::tty_forced_width = 0 |
This file contains implementations of tty info getters.
Definition in file tty.cpp.