diff options
author | Frederik Van Slycken <frederik.van.slycken@gmail.com> | 2015-05-29 17:15:48 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-05-31 11:53:07 -0400 |
commit | e54fa04b90f4c65410b4e6840973242018b477de (patch) | |
tree | 34ae1732d8f36e4620fd11780d0acee1670e66fa /test/functional/terminal/mouse_spec.lua | |
parent | 8c84c124edf125ea7151488ccf8989a54e24da43 (diff) | |
download | rneovim-e54fa04b90f4c65410b4e6840973242018b477de.tar.gz rneovim-e54fa04b90f4c65410b4e6840973242018b477de.tar.bz2 rneovim-e54fa04b90f4c65410b4e6840973242018b477de.zip |
terminal : don't set vterm size to 0 (workaround #2732)
Diffstat (limited to 'test/functional/terminal/mouse_spec.lua')
-rw-r--r-- | test/functional/terminal/mouse_spec.lua | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/test/functional/terminal/mouse_spec.lua b/test/functional/terminal/mouse_spec.lua index 4def4dd7f8..ac61abebcb 100644 --- a/test/functional/terminal/mouse_spec.lua +++ b/test/functional/terminal/mouse_spec.lua @@ -110,39 +110,39 @@ describe('terminal mouse', function() before_each(function() feed('<c-\\><c-n>:vsp<cr>') screen:expect([[ - line21 |line21 | - line22 |line22 | - line23 |line23 | - line24 |line24 | - ^rows: 5, cols: 24 |rows: 5, cols: 24 | + line28 |line28 | + line29 |line29 | + line30 |line30 | + rows: 5, cols: 24 |rows: 5, cols: 24 | + {2:^ } |{2: } | ========== ========== | | ]]) feed(':enew | set number<cr>') screen:expect([[ - 1 ^ |line21 | - ~ |line22 | - ~ |line23 | - ~ |line24 | + 1 ^ |line28 | + ~ |line29 | + ~ |line30 | ~ |rows: 5, cols: 24 | + ~ |{2: } | ========== ========== | :enew | set number | ]]) feed('30iline\n<esc>') screen:expect([[ - 27 line |line21 | - 28 line |line22 | - 29 line |line23 | - 30 line |line24 | - 31 ^ |rows: 5, cols: 24 | + 27 line |line28 | + 28 line |line29 | + 29 line |line30 | + 30 line |rows: 5, cols: 24 | + 31 ^ |{2: } | ========== ========== | | ]]) feed('<c-w>li') screen:expect([[ - 27 line |line22 | - 28 line |line23 | - 29 line |line24 | + 27 line |line28 | + 28 line |line29 | + 29 line |line30 | 30 line |rows: 5, cols: 24 | 31 |{1: } | ========== ========== | @@ -152,8 +152,8 @@ describe('terminal mouse', function() thelpers.enable_mouse() thelpers.feed_data('mouse enabled\n') screen:expect([[ - 27 line |line23 | - 28 line |line24 | + 27 line |line29 | + 28 line |line30 | 29 line |rows: 5, cols: 24 | 30 line |mouse enabled | 31 |{1: } | @@ -165,8 +165,8 @@ describe('terminal mouse', function() it('wont lose focus if another window is scrolled', function() feed('<MouseDown><0,0><MouseDown><0,0>') screen:expect([[ - 21 line |line23 | - 22 line |line24 | + 21 line |line29 | + 22 line |line30 | 23 line |rows: 5, cols: 24 | 24 line |mouse enabled | 25 line |{1: } | @@ -175,8 +175,8 @@ describe('terminal mouse', function() ]]) feed('<S-MouseUp><0,0>') screen:expect([[ - 26 line |line23 | - 27 line |line24 | + 26 line |line29 | + 27 line |line30 | 28 line |rows: 5, cols: 24 | 29 line |mouse enabled | 30 line |{1: } | @@ -188,8 +188,8 @@ describe('terminal mouse', function() it('will lose focus if another window is clicked', function() feed('<LeftMouse><5,1>') screen:expect([[ - 27 line |line23 | - 28 l^ine |line24 | + 27 line |line29 | + 28 l^ine |line30 | 29 line |rows: 5, cols: 24 | 30 line |mouse enabled | 31 |{2: } | |