diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-02-27 03:10:55 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-03-01 14:47:49 +0100 |
commit | 937e54f86599ab448e6497955e2b4dddf6347e88 (patch) | |
tree | e3ba431fb1480d4dde8362604139a36fb0d576bb /test/functional/terminal/buffer_spec.lua | |
parent | 504693ce66e61e2976b0af2930177a07bafbe6f3 (diff) | |
download | rneovim-937e54f86599ab448e6497955e2b4dddf6347e88.tar.gz rneovim-937e54f86599ab448e6497955e2b4dddf6347e88.tar.bz2 rneovim-937e54f86599ab448e6497955e2b4dddf6347e88.zip |
terminal: Keep cursor position.
Let the terminal dictate the normal-mode cursor position. This will be
disorienting sometimes, but it is closer to what users expect vs always
going to the last line.
Diffstat (limited to 'test/functional/terminal/buffer_spec.lua')
-rw-r--r-- | test/functional/terminal/buffer_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/terminal/buffer_spec.lua b/test/functional/terminal/buffer_spec.lua index cecd67d7fa..a75ec129e4 100644 --- a/test/functional/terminal/buffer_spec.lua +++ b/test/functional/terminal/buffer_spec.lua @@ -50,11 +50,11 @@ describe('terminal buffer', function() feed('<c-\\><c-n>') screen:expect([[ tty ready | - {2: } | + {2:^ } | + | | | | - ^ | | ]]) end) @@ -74,11 +74,11 @@ describe('terminal buffer', function() feed('<c-\\><c-n>dd') screen:expect([[ tty ready | - {2: } | + {2:^ } | + | | | | - ^ | {8:E21: Cannot make changes, 'modifiable' is off} | ]]) end) |