aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/event
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-03 16:13:29 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-09-03 16:14:29 +0200
commit6242bac90461afb659c5536f9efa8e84775e9df2 (patch)
tree6201ec88d4242a1dd4f57defc036293eb7bf3d7d /src/nvim/event
parent58318af71844c71db1621706d1f6a7bbed8e8621 (diff)
downloadrneovim-6242bac90461afb659c5536f9efa8e84775e9df2.tar.gz
rneovim-6242bac90461afb659c5536f9efa8e84775e9df2.tar.bz2
rneovim-6242bac90461afb659c5536f9efa8e84775e9df2.zip
f_jobwait: cleanup
Diffstat (limited to 'src/nvim/event')
-rw-r--r--src/nvim/event/process.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/event/process.c b/src/nvim/event/process.c
index c31ecdaddf..8e9964bd37 100644
--- a/src/nvim/event/process.c
+++ b/src/nvim/event/process.c
@@ -181,8 +181,7 @@ int process_wait(Process *proc, int ms, MultiQueue *events)
got_int // interrupted by the user
|| proc->refcount == 1); // job exited
- // we'll assume that a user frantically hitting interrupt doesn't like
- // the current job. Signal that it has to be killed.
+ // Assume that a user hitting CTRL-C does not like the current job. Kill it.
if (got_int) {
got_int = false;
process_stop(proc);