neovim/test/functional
github-actions[bot] ae249d81fb
fix(terminal): fix resize crash with pending scrollback (#16665)
refresh_scrollback assumes pending scrollback rows exist only if the
terminal window height decreased (or the screen was full).

However, after accumulating scrollback, it's possible in some cases for
the terminal height to increase before refresh_scrollback is called via
invalidation (especially when the terminal buffer isn't initially
displayed in a window before nvim_open_term), which may crash.

As we'll have enough room for some scrollback rows, just append them to
the top of the buffer until it fills the window, then continue with the
previous logic for any remaining scrollback rows if necessary.
2021-12-15 08:29:26 -07:00
..
api test(api): mark "notify cancels stale events on channel close" fragile 2021-11-30 22:27:34 -05:00
autocmd test(dirchanged): add tests for DirChanged pattern "auto" 2021-10-17 22:04:53 +08:00
core chore: fix typos (#16361) 2021-11-27 11:10:48 -05:00
editor fix(input): never reinterpret unmapped ALT- chrods in Terminal mode (#16222) 2021-11-04 07:43:05 -06:00
ex_cmds vim-patch:8.2.3618: getcwd() is unclear about how 'autochdir' is used 2021-11-19 20:07:04 +08:00
fixtures NVIM 0.6.0 2021-11-30 18:20:42 +01:00
legacy Merge pull request #16362 from zeertzjq/vim-8.2.3617 2021-11-21 17:47:09 -05:00
lua fix(diagnostic): escape special chars in file names (#16588) 2021-12-08 19:20:55 -07:00
options fix(options): using :set fillchars should clear local value 2021-11-17 07:11:46 +08:00
plugin chore(lsp): clean up initialization process (#16369) 2021-11-21 11:39:30 -05:00
provider refactor(tests): use assert_alive() #15546 2021-09-01 09:42:53 -07:00
shada refactor(tests): remove redir_exec #15718 2021-09-19 02:29:37 -07:00
terminal fix(terminal): fix resize crash with pending scrollback (#16665) 2021-12-15 08:29:26 -07:00
treesitter fix(tests): adapt parser_spec test to tree-sitter bump 2021-11-23 18:38:22 +01:00
ui fix(float): skip non-focusable windows for :windo (#15378) 2021-11-11 11:05:18 -07:00
vimscript fix(eval): fix has('wsl') #16153 2021-10-29 16:55:32 -07:00
example_spec.lua screen.lua: remove screen:_on_event #11488 2019-12-01 01:06:10 -08:00
helpers.lua test: fix running functional tests under gdbserver 2021-09-20 18:10:40 +05:30
preload.lua test/functional/preload.lua: _set_fmode for Windows 2019-09-25 05:47:15 +02:00