execute kakrc after creating an UI

This commit is contained in:
Maxime Coste 2012-06-12 13:10:33 +00:00
parent 9bcfda3226
commit 67c6b6834e

View File

@ -440,6 +440,11 @@ int main(int argc, char* argv[])
register_highlighters(); register_highlighters();
register_filters(); register_filters();
try
{
NCursesUI ui;
current_ui = &ui;
try try
{ {
command_manager.execute("runtime kakrc", main_context); command_manager.execute("runtime kakrc", main_context);
@ -449,10 +454,6 @@ int main(int argc, char* argv[])
print_status(error.description()); print_status(error.description());
} }
try
{
NCursesUI ui;
current_ui = &ui;
write_debug("*** This is the debug buffer, where debug info will be written ***\n"); write_debug("*** This is the debug buffer, where debug info will be written ***\n");
write_debug("utf-8 test: é á ï"); write_debug("utf-8 test: é á ï");