From 73290d21d996c7e596ef3c71d55a506f1aa38f2c Mon Sep 17 00:00:00 2001
From: HampusM <hampus@hampusmat.com>
Date: Mon, 2 May 2022 22:53:13 +0200
Subject: refactor: clean up statusline

---
 src/game/statusline.cpp | 11 -----------
 src/game/statusline.hpp |  2 +-
 2 files changed, 1 insertion(+), 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>
-- 
cgit v1.2.3-18-g5258