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,20 +440,21 @@ int main(int argc, char* argv[])
register_highlighters(); register_highlighters();
register_filters(); register_filters();
try
{
command_manager.execute("runtime kakrc", main_context);
}
catch (Kakoune::runtime_error& error)
{
print_status(error.description());
}
try try
{ {
NCursesUI ui; NCursesUI ui;
current_ui = &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("*** This is the debug buffer, where debug info will be written ***\n");
write_debug("utf-8 test: é á ï"); write_debug("utf-8 test: é á ï");