From afb150138d5bf5d6f464c31b2c61ebdc037b93bb Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Wed, 24 Jul 2024 17:55:35 +0200 Subject: [PATCH] Change visibility of orig_termios --- src/curses/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/curses/window.cpp b/src/curses/window.cpp index b0cc9633..5db41fb9 100644 --- a/src/curses/window.cpp +++ b/src/curses/window.cpp @@ -199,6 +199,8 @@ int add_base() int color_pair_counter; std::vector color_pair_map; +termios orig_termios; + } namespace NC { @@ -217,8 +219,6 @@ Color Color::Cyan(COLOR_CYAN, Color::current); Color Color::White(COLOR_WHITE, Color::current); Color Color::End(0, 0, false, true); -struct termios orig_termios; - int Color::pairNumber() const { // If colors are disabled, return default pair value.