Mercurial > vim
view src/testdir/test_feedkeys.vim @ 26544:30abd8e55ee5 v8.2.3801
patch 8.2.3801: if a terminal shows in two windows, only one is redrawn
Commit: https://github.com/vim/vim/commit/3194e5bf87f8e08f519b947a03c46677616cd7e3
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 13 21:59:09 2021 +0000
patch 8.2.3801: if a terminal shows in two windows, only one is redrawn
Problem: If a terminal shows in two windows, only one is redrawn.
Solution: Reset the dirty row range only after redrawing all windows.
(closes #9341)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 13 Dec 2021 23:00:03 +0100 |
parents | 08940efa6b4e |
children | e06cbcf4b94b |
line wrap: on
line source
" Test feedkeys() function. func Test_feedkeys_x_with_empty_string() new call feedkeys("ifoo\<Esc>") call assert_equal('', getline('.')) call feedkeys('', 'x') call assert_equal('foo', getline('.')) " check it goes back to normal mode immediately. call feedkeys('i', 'x') call assert_equal('foo', getline('.')) quit! endfunc " vim: shiftwidth=2 sts=2 expandtab