diff options
-rw-r--r-- | group-base/patches/app-editors/neovim-0.8.0/force-tsl-override.patch | 15 |
1 files changed, 15 insertions, 0 deletions
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"); + } |