diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-06-12 13:10:33 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-06-12 13:10:33 +0000 |
| commit | 67c6b6834ece0443bf3f5f84313f9cfaa36aaabf (patch) | |
| tree | fe0b9567bd599ca2e298037423e96f10eac384cd /src | |
| parent | 9bcfda3226413345f3862541fb498bb5d4c62156 (diff) | |
execute kakrc after creating an UI
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cc | 19 |
1 files 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 @@ -442,18 +442,19 @@ int main(int argc, char* argv[]) 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: é á ï"); |
