Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Functions
tty.hpp File Reference

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.
 

Detailed Description

This file contains tty info getters.

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file tty.hpp.