Skip to content

ftxui::Screen::Cursor ​

cpp
#include <ftxui/screen/screen.hpp>

Terminal cursor position and shape.

Summary ​

SymbolDescription
Shape
x
y
shape

Public Types ​

Shape ​

cpp
enum Shape { Hidden, BlockBlinking, Block, UnderlineBlinking, Underline, BarBlinking, Bar };

Public Attributes ​

x ​

cpp
int x = 0;

y ​

cpp
int y = 0;

shape ​

cpp
Shape shape = Hidden;