mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
screen: truncate showmode messages
Before this, bottom of screen got messed up when modemsg (+ one extra space to not force terminal scroll) didn't fit on one line.
This commit is contained in:
@@ -651,9 +651,10 @@ describe('Screen', function()
|
||||
it('has minimum width/height values', function()
|
||||
screen:try_resize(1, 1)
|
||||
screen:expect([[
|
||||
{2:-- INS^ERT --}|
|
||||
|
|
||||
resize^ |
|
||||
{2:-- INSERT -} |
|
||||
]])
|
||||
|
||||
feed('<esc>:ls')
|
||||
screen:expect([[
|
||||
resize |
|
||||
|
||||
Reference in New Issue
Block a user