diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-09-30 10:31:55 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2023-10-03 15:20:09 +0200 |
commit | a9a48d6b5f00241e16e7131c997f0117bc5e9047 (patch) | |
tree | 2d7149793427477bf9d6cec6fe4c43b60a41c92c /test/functional/core/fileio_spec.lua | |
parent | 08aea256c8330f482319b0579944a56707cc5bbe (diff) | |
download | rneovim-a9a48d6b5f00241e16e7131c997f0117bc5e9047.tar.gz rneovim-a9a48d6b5f00241e16e7131c997f0117bc5e9047.tar.bz2 rneovim-a9a48d6b5f00241e16e7131c997f0117bc5e9047.zip |
refactor(message): simplify msg_puts_display and use batched grid updates
msg_puts_display was more complex than necessary in nvim, as in
nvim, it no longer talks directly with a terminal.
In particular we don't need to scroll the grid before emiting the last
char. The TUI already takes care of things like that, for terminals
where it matters.
Diffstat (limited to 'test/functional/core/fileio_spec.lua')
-rw-r--r-- | test/functional/core/fileio_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/core/fileio_spec.lua b/test/functional/core/fileio_spec.lua index a1a90a59f3..a23dad226a 100644 --- a/test/functional/core/fileio_spec.lua +++ b/test/functional/core/fileio_spec.lua @@ -259,8 +259,8 @@ describe('fileio', function() screen:expect([[ {2:WARNING: The file has been changed since}| {2: reading it!!!} | - {3:Do you really want to write to it (y/n)^?}| - | + {3:Do you really want to write to it (y/n)?}| + ^ | ]]) feed("n") |