diff options
Diffstat (limited to 'src/engine/graphics/scene.hpp')
-rw-r--r-- | src/engine/graphics/scene.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/graphics/scene.hpp b/src/engine/graphics/scene.hpp index 5b52027..da3d990 100644 --- a/src/engine/graphics/scene.hpp +++ b/src/engine/graphics/scene.hpp @@ -3,13 +3,13 @@ #include <fmt/core.h> #include <memory> #include <string_view> -#include <termios.h> #include <utility> #include <vector> #include <yacppdic/auto_wirable.hpp> #include "engine/data/bounds.hpp" #include "engine/data/vector2.hpp" +#include "engine/io/terminal.hpp" #include "interfaces/component.hpp" #include "interfaces/matrix.hpp" #include "interfaces/scene.hpp" @@ -47,7 +47,7 @@ private: std::shared_ptr<IMatrix<MatrixElement>> _matrix; bool _is_shown; - std::shared_ptr<termios> _original_termios = nullptr; + TerminalState _original_terminal_state{}; std::vector<std::pair<std::shared_ptr<IComponent>, Vector2>> _components; }; |