mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
Add TermClose event
A terminal buffer now exits with: [Process exited <return value>]
You can hook into it. E.g. :au TermClose * call feedkeys('<cr>')
Closes #2293.
This commit is contained in:
@@ -340,7 +340,7 @@ describe('terminal prints more lines than the screen height and exits', function
|
||||
line8 |
|
||||
line9 |
|
||||
|
|
||||
[Program exited, press any key to close] |
|
||||
[Process exited 0] |
|
||||
-- TERMINAL -- |
|
||||
]])
|
||||
feed('<cr>')
|
||||
|
||||
Reference in New Issue
Block a user