summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-06-01 21:15:59 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-06-01 21:15:59 +0100
commit8f6fc6a0f3bad813f6f7a6ca5cd8ae56afd31cc3 (patch)
treee7611265f4e905330910ebdc3d4f1c317b4d4f67 /src/input_handler.cc
parentf19bb4fe6d1de14f9539768ad9a67391fc52ed87 (diff)
Port even more code to use format function
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index f5e9440d..0d4f7412 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1010,7 +1010,7 @@ public:
{
auto num_sel = context().selections().size();
return {AtomList{ { "insert ", Face(Color::Green) },
- { to_string(num_sel) + " sel", Face(Color::Blue) } }};
+ { format( "{} sel", num_sel), Face(Color::Blue) } }};
}
KeymapMode keymap_mode() const override { return KeymapMode::Insert; }