diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-02-10 06:30:02 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-10 06:30:02 +0800 |
| commit | 54468c1c3c2e412e5e0d714101cdfbb44ae4600a (patch) | |
| tree | abd167b32d99424dd9c25cbc588441b7a85b7ae9 /test/functional/vimscript/string_spec.lua | |
| parent | 4b2cbc21544f0d2f3b60465323677266ab60efc6 (diff) | |
| download | rneovim-54468c1c3c2e412e5e0d714101cdfbb44ae4600a.tar.gz rneovim-54468c1c3c2e412e5e0d714101cdfbb44ae4600a.tar.bz2 rneovim-54468c1c3c2e412e5e0d714101cdfbb44ae4600a.zip | |
fix(terminal): wrong scrollback with nvim_open_term() on buffer (#37791)
Problem: Wrong scrollback when passing a buffer with many lines to
nvim_open_term().
Solution: Delete all buffer lines before opening the terminal.
I tried to use buf_clear(), but it crashes inside deleted_lines_mark(),
so I'll just use deleted_lines_buf() for now. The behavior of marks can
be decided later.
Diffstat (limited to 'test/functional/vimscript/string_spec.lua')
0 files changed, 0 insertions, 0 deletions