From b5dd562e08727877d973718e7a75804cace259dd Mon Sep 17 00:00:00 2001 From: bfredl Date: Tue, 31 May 2022 00:19:10 +0200 Subject: fix(docs): correct obsolete note about 'writedelay' in dev docs --- src/nvim/README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/nvim/README.md b/src/nvim/README.md index f0b7339352..91fb3ca2f6 100644 --- a/src/nvim/README.md +++ b/src/nvim/README.md @@ -204,9 +204,14 @@ Then you can compare `bar` with another session, to debug TUI behavior. ### TUI redraw -Set the 'writedelay' option to see where and when the UI is painted. +Set the 'writedelay' and 'redrawdebug' options to see where and when the UI is painted. - :set writedelay=1 + :set writedelay=50 rdb=compositor + +Note: neovim uses an internal screenbuffer to only send minimal updates even if a large +region is repainted internally. To also highlight excess internal redraws, use + + :set writedelay=50 rdb=compositor,nodelta ### Terminal reference -- cgit