diff options
author | HampusM <hampus@hampusmat.com> | 2022-06-23 17:05:43 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-23 18:24:48 +0200 |
commit | a570e494bca43c30d7ec91d293051c0c818509b5 (patch) | |
tree | 4eea8c16d1434893ca51b721c5498ece65c836aa /src/game/status_manager.hpp | |
parent | ec5c7cbccc533bacab661e991e7011584d3bb47f (diff) |
feat: add statusline mode styling
Diffstat (limited to 'src/game/status_manager.hpp')
-rw-r--r-- | src/game/status_manager.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/status_manager.hpp b/src/game/status_manager.hpp index 85faf3c..8224003 100644 --- a/src/game/status_manager.hpp +++ b/src/game/status_manager.hpp @@ -6,8 +6,8 @@ #include <yacppdic/auto_wirable.hpp> #include <memory> +#include <optional> #include <string_view> -#include <unordered_map> class StatusManager : public IStatusManager, public yacppdic::AutoWirable<IStatusManager, StatusManager> @@ -26,5 +26,5 @@ public: private: std::shared_ptr<IStatusLine> _statusline; - std::unordered_map<StatusLineSection, int32_t> _title_lengths; + std::unordered_map<StatusLineSection, int32_t> _section_title_lengths; }; |