From faf5b110d724a52113d4bda51a64cce463cf4ac6 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Tue, 8 Nov 2022 12:34:20 +0100 Subject: group-base: Port neovim's statusline patch to 0.8.0 See b1abe44 (group-base: Patch visual glitches in >=neovim-0.7.2, 2022-10-15) and [1]. This is still not fixed for 0.8.0. [1] https://github.com/neovim/neovim/issues/18573 --- .../app-editors/neovim-0.8.0/force-tsl-override.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 group-base/patches/app-editors/neovim-0.8.0/force-tsl-override.patch (limited to 'group-base/patches') diff --git a/group-base/patches/app-editors/neovim-0.8.0/force-tsl-override.patch b/group-base/patches/app-editors/neovim-0.8.0/force-tsl-override.patch new file mode 100644 index 0000000..8a3ff14 --- /dev/null +++ b/group-base/patches/app-editors/neovim-0.8.0/force-tsl-override.patch @@ -0,0 +1,15 @@ +diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c +index e2d37860c..ed90446e6 100644 +--- a/src/nvim/tui/tui.c ++++ b/src/nvim/tui/tui.c +@@ -1803,8 +1803,8 @@ static void patch_terminfo_bugs(TUIData *data, const char *term, const char *col + // 2017-04 terminfo.src lacks these. Xterm-likes have them. + if (!hterm) { + // hterm doesn't have a status line. +- 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"); + // TODO(aktau): patch this in when DECSTBM is fixed (https://crbug.com/1298796) + unibi_set_if_empty(ut, unibi_set_tb_margin, "\x1b[%i%p1%d;%p2%dr"); + } -- cgit v1.2.3-2-gb3c3