aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-05-24 10:04:49 +0200
committerGitHub <noreply@github.com>2023-05-24 10:04:49 +0200
commitc855eee919f2d4edc9b9fa91b277454290fbabfe (patch)
tree8dca8e4d1c239594dbb4e20d24ee3ebb63a2d9c3 /runtime
parent6661cdf2bdfc2a9cd9805c7afd6d6ae556a50126 (diff)
downloadrneovim-c855eee919f2d4edc9b9fa91b277454290fbabfe.tar.gz
rneovim-c855eee919f2d4edc9b9fa91b277454290fbabfe.tar.bz2
rneovim-c855eee919f2d4edc9b9fa91b277454290fbabfe.zip
feat(term): enable reflow by default (#21124)
libvterm v0.3 supports reflow of terminal buffer when Nvim is resized Since v0.3 is now a required dependency, enable it by default to find (and fix) possible issues. Note: Neovim's scrollback buffer does not support reflow (yet), so lines vanishing into the buffer due to a too small window will be restored without reflow.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/news.txt4
-rw-r--r--runtime/doc/options.txt3
2 files changed, 7 insertions, 0 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index 5690dbf3bc..795ccc55de 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -58,6 +58,10 @@ The following new APIs or features were added.
• Added inline virtual text support to |nvim_buf_set_extmark()|.
+• The terminal buffer now supports reflow (wrapped lines adapt when the buffer
+ is resized horizontally). Note: Lines that are not visible and kept in
+ |'scrollback'| are not reflown.
+
==============================================================================
CHANGED FEATURES *news-changed*
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index c1e0bccfd3..72463af418 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4913,6 +4913,9 @@ A jump table for the options with a short description can be found at |Q_op|.
Minimum is 1, maximum is 100000.
Only in |terminal| buffers.
+ Note: Lines that are not visible and kept in scrollback are not
+ reflown when the terminal buffer is resized horizontally.
+
*'scrollbind'* *'scb'* *'noscrollbind'* *'noscb'*
'scrollbind' 'scb' boolean (default off)
local to window