mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
main.c: fixes #7967
This commit is contained in:
parent
16b1e8f9c0
commit
fcf6bfd360
@ -378,6 +378,14 @@ int main(int argc, char **argv)
|
|||||||
TIME_MSG("initialized screen early for embedder");
|
TIME_MSG("initialized screen early for embedder");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!headless_mode && !embedded_mode && !silent_mode) {
|
||||||
|
input_stop(); // Stop reading input, let the UI take over.
|
||||||
|
ui_builtin_start();
|
||||||
|
starting = NO_BUFFERS;
|
||||||
|
screenclear();
|
||||||
|
early_ui = true;
|
||||||
|
}
|
||||||
|
|
||||||
// Execute --cmd arguments.
|
// Execute --cmd arguments.
|
||||||
exe_pre_commands(¶ms);
|
exe_pre_commands(¶ms);
|
||||||
|
|
||||||
@ -477,11 +485,6 @@ int main(int argc, char **argv)
|
|||||||
wait_return(true);
|
wait_return(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!headless_mode && !embedded_mode && !silent_mode) {
|
|
||||||
input_stop(); // Stop reading input, let the UI take over.
|
|
||||||
ui_builtin_start();
|
|
||||||
}
|
|
||||||
|
|
||||||
setmouse(); // may start using the mouse
|
setmouse(); // may start using the mouse
|
||||||
|
|
||||||
if (exmode_active || early_ui) {
|
if (exmode_active || early_ui) {
|
||||||
|
Loading…
Reference in New Issue
Block a user