diff --git a/src/main.cc b/src/main.cc index f6c6c747..e80f5717 100644 --- a/src/main.cc +++ b/src/main.cc @@ -63,9 +63,10 @@ void register_env_vars() String res; for (auto& buf : BufferManager::instance()) { - res += buf->display_name() + ":"; + if (not res.empty()) + res += ":"; + res += buf->display_name(); } - res.pop_back(); return res; } }, { "timestamp",