Change visibility of orig_termios

This commit is contained in:
Andrzej Rybczak
2024-07-24 17:55:35 +02:00
parent 51ebe9e52d
commit afb150138d

View File

@@ -199,6 +199,8 @@ int add_base()
int color_pair_counter; int color_pair_counter;
std::vector<int> color_pair_map; std::vector<int> color_pair_map;
termios orig_termios;
} }
namespace NC { namespace NC {
@@ -217,8 +219,6 @@ Color Color::Cyan(COLOR_CYAN, Color::current);
Color Color::White(COLOR_WHITE, Color::current); Color Color::White(COLOR_WHITE, Color::current);
Color Color::End(0, 0, false, true); Color Color::End(0, 0, false, true);
struct termios orig_termios;
int Color::pairNumber() const int Color::pairNumber() const
{ {
// If colors are disabled, return default pair value. // If colors are disabled, return default pair value.