FTXUI 6.1.9
C++ functional terminal UI.
载入中...
搜索中...
未找到
terminal.hpp 文件参考

浏览该文件的源代码.

struct  Dimensions
 Dimensions 是一个表示终端大小的结构。 更多...
 

命名空间

namespace  ftxui
 #include "ftxui/component/component_base.hpp" // 用于 ComponentBase
 
namespace  ftxui::Terminal
 

枚举

enum  Color {
  Palette1 ,
  Palette16 ,
  Palette256 ,
  TrueColor
}
 Color 是一个表示终端颜色支持的枚举。 更多...
 

函数

Dimensions Size ()
 获取终端尺寸。
 
void SetFallbackSize (const Dimensions &fallbackSize)
 在自动检测失败时覆盖终端尺寸
 
Color ColorSupport ()
 获取终端的颜色支持。
 
void SetColorSupport (Color color)
 在自动检测失败时覆盖终端颜色支持