aboutsummaryrefslogtreecommitdiff
path: root/src/engine/graphics/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/graphics/window.cpp')
-rw-r--r--src/engine/graphics/window.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/engine/graphics/window.cpp b/src/engine/graphics/window.cpp
deleted file mode 100644
index bb33402..0000000
--- a/src/engine/graphics/window.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "window.hpp"
-
-#include <sys/ioctl.h>
-
-auto Window::size() const noexcept -> Bounds
-{
- winsize window_size = {};
-
- // NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg)
- ioctl(0, TIOCGWINSZ, &window_size);
-
- return Bounds({window_size.ws_col, window_size.ws_row});
-}