lintel 0.2.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
lintel::CommandLineUtils Class Reference

#include <CommandLineUtils.h>

Public Member Functions

void disableOfInputEcho ()
 
void enableOfInputEcho ()
 
void disableOfCanonicalMode ()
 
void enableOfCanonicalMode ()
 
bool isCanonicalMode () const
 
bool isEchoMode () const
 

Static Public Member Functions

static void clear ()
 
static void beep ()
 

Detailed Description

Utility class for terminal mode manipulation (echo, canonical mode)

Member Function Documentation

◆ beep()

static void lintel::CommandLineUtils::beep ( )
static

Ring the terminal bell

◆ clear()

static void lintel::CommandLineUtils::clear ( )
static

Clear the terminal screen

◆ disableOfCanonicalMode()

void lintel::CommandLineUtils::disableOfCanonicalMode ( )

Disable canonical (line-buffered) input mode

◆ disableOfInputEcho()

void lintel::CommandLineUtils::disableOfInputEcho ( )

Disable input echo for password entry

◆ enableOfCanonicalMode()

void lintel::CommandLineUtils::enableOfCanonicalMode ( )

Re-enable canonical input mode

◆ enableOfInputEcho()

void lintel::CommandLineUtils::enableOfInputEcho ( )

Re-enable input echo

◆ isCanonicalMode()

bool lintel::CommandLineUtils::isCanonicalMode ( ) const
Returns
true if canonical mode is active

◆ isEchoMode()

bool lintel::CommandLineUtils::isEchoMode ( ) const
Returns
true if echo is enabled

The documentation for this class was generated from the following file: