cpp-terminal 1.0.0
Small C++ library for writing multiplatform terminal applications
Loading...
Searching...
No Matches
Term::Model Class Reference

#include <cpp-terminal/prompt.hpp>

Public Attributes

std::string prompt_string
 
std::vector< std::string > lines {""}
 
std::size_t cursor_col {1}
 
std::size_t cursor_row {1}
 

Detailed Description

Definition at line 65 of file prompt.hpp.

Member Data Documentation

◆ cursor_col

std::size_t Term::Model::cursor_col {1}

Definition at line 71 of file prompt.hpp.

71{1};

◆ cursor_row

std::size_t Term::Model::cursor_row {1}

Definition at line 72 of file prompt.hpp.

72{1};

◆ lines

std::vector<std::string> Term::Model::lines {""}

Definition at line 69 of file prompt.hpp.

69{""}; // The current input string in the prompt as a vector of lines, without '\n' at the end.

◆ prompt_string

std::string Term::Model::prompt_string

Definition at line 68 of file prompt.hpp.


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