aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-12 14:32:03 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:57:01 +0200
commit4d3d1a9e935af44277e19c47004903fb43cbbde1 (patch)
tree7716449ffe1111e34495e7f43964ae5d6bf2fdfc /src/game/game.cpp
parente0021112e98639baeee0aae3a483bb725cc99d57 (diff)
refactor: improve scene size display in statusline
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r--src/game/game.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp
index 893be97..0fe0ff1 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -88,10 +88,7 @@ void Game::on_start() noexcept
_status_manager->set_section_body(
StatusLineSection::H,
- fmt::format(
- "Width {} Height {}",
- scene_size.get_width(),
- scene_size.get_height()));
+ fmt::format("{}x{}", scene_size.get_width(), scene_size.get_height()));
_commands["open"] = CommandInfo(
{.option_cnt = 1U,