aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/nvim_terminal_emulator.txt
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2021-08-28 09:58:27 -0600
committerJustin M. Keyes <justinkz@gmail.com>2021-08-31 06:53:06 -0700
commit3c081d028062f793b63b8689f854bbea30e15752 (patch)
tree336bf2b82126e5efa3d6f149d4a6026ef1a24d54 /runtime/doc/nvim_terminal_emulator.txt
parent55defa1a41baac65cd32dc499b330af9751d6c5b (diff)
downloadrneovim-3c081d028062f793b63b8689f854bbea30e15752.tar.gz
rneovim-3c081d028062f793b63b8689f854bbea30e15752.tar.bz2
rneovim-3c081d028062f793b63b8689f854bbea30e15752.zip
fix(jobwait): always drain process event queues #15402
Problem: jobwait() returns early if the job was stopped, but the job might have pending callbacks on its event queue which are required to complete its teardown. State such as term->closed might not be updated yet (by the pending callbacks), so codepaths such as :bdelete think the job is still running. Solution: Always flush the job's event queue before returning from jobwait(). ref #15349
Diffstat (limited to 'runtime/doc/nvim_terminal_emulator.txt')
-rw-r--r--runtime/doc/nvim_terminal_emulator.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/nvim_terminal_emulator.txt b/runtime/doc/nvim_terminal_emulator.txt
index e0589ba7b8..0bf58f85fc 100644
--- a/runtime/doc/nvim_terminal_emulator.txt
+++ b/runtime/doc/nvim_terminal_emulator.txt
@@ -13,7 +13,7 @@ from the connected program.
Terminal buffers behave like normal buffers, except:
- With 'modifiable', lines can be edited but not deleted.
- 'scrollback' controls how many lines are kept.
-- Output is followed if the cursor is on the last line.
+- Output is followed ("tailed") if cursor is on the last line.
- 'modified' is the default. You can set 'nomodified' to avoid a warning when
closing the terminal buffer.
- 'bufhidden' defaults to "hide".