aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/terminal.c')
-rw-r--r--src/nvim/terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c
index 2ca71e6dde..f4acfb486c 100644
--- a/src/nvim/terminal.c
+++ b/src/nvim/terminal.c
@@ -498,7 +498,7 @@ void terminal_open(Terminal **termpp, buf_T *buf, TerminalOptions opts)
// can create an infinite loop (#32753).
// This queue is never processed directly: when the terminal is refreshed, all
// events from this queue are copied back onto the main event queue.
- term->pending.events = multiqueue_new_parent(NULL, NULL);
+ term->pending.events = multiqueue_new(NULL, NULL);
aco_save_T aco;
aucmd_prepbuf(&aco, buf);