![]() |
Shamrock 2025.10.0
Astrophysical Code
|
This file contains tty info getters. More...
#include "shambase/aliases_int.hpp"
Include dependency graph for tty.hpp:
This graph shows which files directly or indirectly include this file: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. | |
| 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. | |
| void | shamcmdopt::set_tty_columns (u32 columns) |
| Set the forced width of the terminal. | |
| void | shamcmdopt::reset_tty_columns () |
| Reset the forced width of the terminal. | |
This file contains tty info getters.
Definition in file tty.hpp.