execute kakrc after creating an UI
This commit is contained in:
parent
9bcfda3226
commit
67c6b6834e
19
src/main.cc
19
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: é á ï");
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user