From b1abe448392d465bd1dffcf25931ecfd99b385db Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sat, 15 Oct 2022 18:16:42 +0200 Subject: group-base: Patch visual glitches in >=neovim-0.7.2 Using 'title' together with 'laststatus' set to 0 leads to visual glitches in neovim. This seems to be caused by a change in terminfo [1]. No fix has made it into neovim's upstream for a couple of months, so for now use a proposed patch from the neovim issue. [1] https://github.com/mirror/ncurses/commit/8f6d94b8d6211a2323caef53fa4c96c475ec9a6 [2] https://github.com/neovim/neovim/issues/18573#issuecomment-1127336077 --- .../neovim-0.7.2/neovim-0.7.0-force-tsl-override.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 group-base/patches/app-editors/neovim-0.7.2/neovim-0.7.0-force-tsl-override.patch (limited to 'group-base') diff --git a/group-base/patches/app-editors/neovim-0.7.2/neovim-0.7.0-force-tsl-override.patch b/group-base/patches/app-editors/neovim-0.7.2/neovim-0.7.0-force-tsl-override.patch new file mode 100644 index 0000000..6cf7f86 --- /dev/null +++ b/group-base/patches/app-editors/neovim-0.7.2/neovim-0.7.0-force-tsl-override.patch @@ -0,0 +1,14 @@ +diff -ruN neovim-0.7.0.orig/src/nvim/tui/tui.c neovim-0.7.0/src/nvim/tui/tui.c +--- neovim-0.7.0.orig/src/nvim/tui/tui.c 2022-04-15 13:38:44.000000000 +0200 ++++ neovim-0.7.0/src/nvim/tui/tui.c 2022-05-16 09:27:51.542131058 +0200 +@@ -1699,8 +1699,8 @@ + // treatable as xterm. + + // 2017-04 terminfo.src lacks these. Xterm-likes have them. +- unibi_set_if_empty(ut, unibi_to_status_line, "\x1b]0;"); +- unibi_set_if_empty(ut, unibi_from_status_line, "\x07"); ++ unibi_set_str(ut, unibi_to_status_line, "\x1b]0;"); ++ unibi_set_str(ut, unibi_from_status_line, "\x07"); + unibi_set_if_empty(ut, unibi_set_tb_margin, "\x1b[%i%p1%d;%p2%dr"); + unibi_set_if_empty(ut, unibi_enter_italics_mode, "\x1b[3m"); + unibi_set_if_empty(ut, unibi_exit_italics_mode, "\x1b[23m"); -- cgit v1.2.3-2-gb3c3