From 67c6b6834ece0443bf3f5f84313f9cfaa36aaabf Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 12 Jun 2012 13:10:33 +0000 Subject: [PATCH] execute kakrc after creating an UI --- src/main.cc | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/main.cc b/src/main.cc index c133dd91..27ca0cd1 100644 --- a/src/main.cc +++ b/src/main.cc @@ -440,20 +440,21 @@ int main(int argc, char* argv[]) register_highlighters(); register_filters(); - try - { - command_manager.execute("runtime kakrc", main_context); - } - catch (Kakoune::runtime_error& error) - { - print_status(error.description()); - } - try { NCursesUI ui; current_ui = &ui; + try + { + command_manager.execute("runtime kakrc", main_context); + } + catch (Kakoune::runtime_error& error) + { + print_status(error.description()); + } + + write_debug("*** This is the debug buffer, where debug info will be written ***\n"); write_debug("utf-8 test: é á ï");