aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/scrollback_spec.lua
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2015-11-11 04:27:50 +0100
committerMarco Hinz <mh.codebro@gmail.com>2015-11-15 15:10:02 +0100
commit9fcd444036e687a3c5c9aa75fa29b6251b3ad431 (patch)
treea13e600a19081542277cdeb35d1de186197d9a90 /test/functional/terminal/scrollback_spec.lua
parentac4db4b814dae6cd9004276d1330702663256491 (diff)
downloadrneovim-9fcd444036e687a3c5c9aa75fa29b6251b3ad431.tar.gz
rneovim-9fcd444036e687a3c5c9aa75fa29b6251b3ad431.tar.bz2
rneovim-9fcd444036e687a3c5c9aa75fa29b6251b3ad431.zip
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.
Diffstat (limited to 'test/functional/terminal/scrollback_spec.lua')
-rw-r--r--test/functional/terminal/scrollback_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/terminal/scrollback_spec.lua b/test/functional/terminal/scrollback_spec.lua
index 87cc9a8266..4b56698520 100644
--- a/test/functional/terminal/scrollback_spec.lua
+++ b/test/functional/terminal/scrollback_spec.lua
@@ -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>')