FTXUI  0.11.1
C++ functional terminal UI.
terminal.hpp
Go to the documentation of this file.
1 #ifndef FTXUI_CORE_TERMINAL_HPP
2 #define FTXUI_CORE_TERMINAL_HPP
3 
4 namespace ftxui {
5 struct Dimensions {
6  int dimx;
7  int dimy;
8 };
9 
10 namespace Terminal {
12 void SetFallbackSize(const Dimensions& fallbackSize);
13 
14 enum Color {
19 };
21 } // namespace Terminal
22 
23 } // namespace ftxui
24 
25 #endif /* end of include guard: FTXUI_CORE_TERMINAL_HPP */
26 
27 // Copyright 2020 Arthur Sonzogni. All rights reserved.
28 // Use of this source code is governed by the MIT license that can be found in
29 // the LICENSE file.
A class representing terminal colors.
Definition: color.hpp:17
Color ColorSupport()
Definition: terminal.cpp:98
void SetFallbackSize(const Dimensions &fallbackSize)
Override terminal size in case auto-detection fails.
Definition: terminal.cpp:55
Dimensions Size()
Definition: terminal.cpp:30