aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r--src/nvim/edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index 3982e32c2f..6bcf5e804a 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -254,7 +254,7 @@ edit (
)
{
if (curbuf->terminal) {
- terminal_enter(true);
+ terminal_enter();
return false;
}
@@ -609,7 +609,7 @@ edit (
if (c == K_EVENT) {
c = lastc;
- loop_process_event(&loop);
+ queue_process_events(loop.events);
continue;
}