Ookii.CommandLine for C++  2.0.0
Classes | Namespaces | Enumerations | Functions
console_helper.h File Reference

Provides helpers for using the console. More...

#include "platform_helper.h"
#include <iostream>
Include dependency graph for console_helper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ookii::console_stream< CharType >
 Template to determine the correct console streams based on the character type. More...
 
struct  ookii::console_stream< char >
 Specialization of console_stream for char. More...
 
struct  ookii::console_stream< wchar_t >
 Specialization of console_stream for wchar_t. More...
 

Namespaces

 ookii
 Namespace containing the core Ookii.CommandLine.Cpp types.
 

Enumerations

enum class  ookii::standard_stream { ookii::input , ookii::output , ookii::error }
 Represents one of the standard console streams. More...
 
enum class  ookii::vt_result { ookii::failed , ookii::no_change , ookii::success }
 Indicates the result of the set_console_vt_support operation. More...
 

Functions

short ookii::get_console_width (short default_width=80) noexcept
 Determines the width of the console. More...
 
vt_result ookii::set_console_vt_support ([[maybe_unused]] standard_stream stream, [[maybe_unused]] bool enable) noexcept
 Enables or disables console support for virtual terminal sequences. More...
 

Detailed Description

Provides helpers for using the console.