summaryrefslogtreecommitdiff
path: root/src/client_manager.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2021-08-17 20:40:30 +1000
committerMaxime Coste <mawww@kakoune.org>2021-08-17 20:40:30 +1000
commit7187784936edc640d547ad497ef9b644a2483a2e (patch)
treea75399641deeb7c698533bda1c9eb61e2ce05c6a /src/client_manager.cc
parent94388dc51e22770e1a9a79ad310cc3c78443ef36 (diff)
Move control character escaping responsibility to the terminal UI
Fix atom text at display time, allow tabs/eol/etc... in display atoms and escape them just-in-time Fixes #4293
Diffstat (limited to 'src/client_manager.cc')
-rw-r--r--src/client_manager.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client_manager.cc b/src/client_manager.cc
index 7c03dabc..25d96c4d 100644
--- a/src/client_manager.cc
+++ b/src/client_manager.cc
@@ -74,8 +74,7 @@ Client* ClientManager::create_client(std::unique_ptr<UserInterface>&& ui, int pi
}
catch (Kakoune::runtime_error& error)
{
- client->context().print_status({ fix_atom_text(error.what().str()),
- client->context().faces()["Error"] });
+ client->context().print_status({error.what().str(), client->context().faces()["Error"]});
client->context().hooks().run_hook(Hook::RuntimeError, error.what(),
client->context());
}