diff options
author | Wolfgang Müller | 2022-10-15 18:16:42 +0200 |
---|---|---|
committer | Wolfgang Müller | 2022-10-15 18:16:42 +0200 |
commit | b1abe448392d465bd1dffcf25931ecfd99b385db (patch) | |
tree | a6f10bbdb96bbd825a3b286e555e2b6ce89fb8c4 /group-base | |
parent | 7f65c6336810dc3625c05899e25d4534e2ff39de (diff) | |
download | portage-roles-b1abe448392d465bd1dffcf25931ecfd99b385db.tar.gz |
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
Diffstat (limited to '')
-rw-r--r-- | group-base/patches/app-editors/neovim-0.7.2/neovim-0.7.0-force-tsl-override.patch | 14 |
1 files changed, 14 insertions, 0 deletions
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"); |