aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/window_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-02-27 03:10:55 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-03-01 14:47:49 +0100
commit937e54f86599ab448e6497955e2b4dddf6347e88 (patch)
treee3ba431fb1480d4dde8362604139a36fb0d576bb /test/functional/terminal/window_spec.lua
parent504693ce66e61e2976b0af2930177a07bafbe6f3 (diff)
downloadrneovim-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/window_spec.lua')
-rw-r--r--test/functional/terminal/window_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/terminal/window_spec.lua b/test/functional/terminal/window_spec.lua
index eb7a67a1a6..888b1e1328 100644
--- a/test/functional/terminal/window_spec.lua
+++ b/test/functional/terminal/window_spec.lua
@@ -18,11 +18,11 @@ describe('terminal window', function()
feed('<c-\\><c-n>')
screen:expect([[
tty ready |
- {2: } |
+ {2:^ } |
+ |
|
|
|
- ^ |
|
]])
feed(':set colorcolumn=20<cr>i')