diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/statusline.cpp | 11 | ||||
-rw-r--r-- | src/game/statusline.hpp | 2 |
2 files changed, 1 insertions, 12 deletions
diff --git a/src/game/statusline.cpp b/src/game/statusline.cpp index 58a317b..1abb87b 100644 --- a/src/game/statusline.cpp +++ b/src/game/statusline.cpp @@ -3,13 +3,8 @@ #include "engine/escape.hpp" #include "util/color.hpp" -#include <algorithm> -#include <iostream> -#include <numeric> -#include <ranges> #include <string> #include <utility> -#include <vector> StatusLine::StatusLine( std::shared_ptr<ICursorController> cursor_controller, @@ -48,12 +43,6 @@ void StatusLine::set_status( auto section_length = _sections_lengths[section]; - /* - auto status = status.length() > section_length - ? status_str.substr(0, section_length) - : status_str; - */ - fmt::print("{}{}", background_color, status); fmt::print(RESET_ALL_MODES, fmt::arg("esc", ESC)); diff --git a/src/game/statusline.hpp b/src/game/statusline.hpp index 7883051..181090d 100644 --- a/src/game/statusline.hpp +++ b/src/game/statusline.hpp @@ -6,8 +6,8 @@ #include "engine/data/vector2.hpp" -#include <cstdint> #include <fmt/core.h> + #include <memory> #include <string_view> #include <unordered_map> |