From 4ed2fd8e94387fa597b5769c2e91212c2ee4d970 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 6 Nov 2022 20:57:58 -0700 Subject: [PATCH] wezterm.terminfo: add statusline entries nvim uses these to set the title string; really, it is setting the status line, but it has an assumed fallback for xterm that redefines the status line update operations in terms of setting the title of the xterm window. Let's ensure that our terminfo has these entries defined, as the nvim fallback currently looks for `xterm` in the value of $TERM to decide whether the fallback is appropriate, and that test does not pass when the user has set term=wezterm. refs: https://github.com/neovim/neovim/issues/20706 refs: https://github.com/wez/wezterm/issues/2635 See also: https://codeberg.org/dnkl/foot/pulls/243/files, https://codeberg.org/dnkl/foot/issues/242, https://github.com/alacritty/alacritty/issues/1636 --- termwiz/data/wezterm | Bin 2832 -> 2845 bytes termwiz/data/wezterm.terminfo | 18 +++++++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/termwiz/data/wezterm b/termwiz/data/wezterm index bd5e11559cac69de2f6624a069c205ee62bf4de4..42db45e5eec36fdaa5c032f3a36b054a6c176c44 100644 GIT binary patch delta 640 zcmY+8T}V_>5XWcE%)Lvk?PA77l*Od3T7u?{yANwYiVuAU(nD-+iCDxEB>7S;iysi$ z2c;eAp-{-6AS5Wshl)+ZK9)!=C=jBDf(V2t3hALboqN3q4a}L}|3AZ-8L)<|a0#x4 z7(`(R3kSpN5eMU~UEQEmADn{$xUA_GjKW=A$KfGNz*CrpH!!F5JbZ%%_^l~|N)_t# zVvVkq0k6}wCSau;jN>NUf=##;cjI16Vk;iTwC*3%*@-7Gi#^znDx@x=#A_%g(K>Pi zNBtk}V-BC=EY9IaoX4N|2TifKF)E5gv51K}k?@_JVvk6QlsG8b#AEF|5mUjWH=keP zSDFNQo=FAdE#sABk^C;4t`grb_g`q3MKWLpd zUV27K&SHqeX2g^u)MKQa`qCCz&S$VizBX2kJ>u&~sSWjG`^{}s0SEvqpcE?6qYxB< z4b_l_4#>c17=|27L0;yU?W%GT3A>}t&ct1JV?1lu+U<+laeb9>TsLc1*zK}m`OH5z C-UrbD delta 626 zcmY*XO-NKx6h7ZQ=k=JTERqJSM4?{BOjwP)Sxgb6MO0LRBtZ#62K`Dgi;7{KqQWGo zhPQ|asf-A6Av6M~uUKDtF(Kcpx0%-|4}XqZN5g5J|-qo-(^X6TP$e%YAE8iTbV zuQRwV%BRp8F2)B5#-8Zm4(P;=_9 z@*fjso4wyEnUAu6e?`!JR>Sq&5U57e-O%5*FxR?;_wYe(=ML`T)12WfU*((Z@qK>G zgZ!L_`5jMinZNRP{>d{u$C_=al9jSX)=EN}WUI8uK53I9a;#2H$$7abdFhqga#tS6 zQyG$%GAiTpQND=D*jP0wQ!*_TAuD1nxBUFEZp#n*e`PFh2RARd6pnJ%8{g>gKEalX zr7drOuXu6kEtaH+;+aLe*#QwPrPUON&upqDhZ1y_GSovi=n;*XKk&hujO\E[?5l, home=\E[H, + dl=\E[%p1%dM, dl1=\E[M, dsl=\E]2;\E\\, + ech=\E[%p1%dX, ed=\E[J, el=\E[K, + el1=\E[1K, flash=\E[?5h$<100/>\E[?5l, fsl=\E\\, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\n, indn=\E[%p1%dS, initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\, @@ -71,7 +83,7 @@ wezterm|Wez's terminal emulator, sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h\E[22;0;0t, smir=\E[4h, smkx=\E[?1h\E=, smm=\E[?1034h, smso=\E[7m, smul=\E[4m, smxx=\E[9m, - tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c, + tbc=\E[3g, tsl=\E]0;, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c, u9=\E[c, vpa=\E[%i%p1%dd, XM=\E[?1003;1006%?%p1%{1}%=%th%el%;, kmous=\E[<, XM=\E[?1006;1000%?%p1%{1}%=%th%el%;, xm=\E[<%i%p3%d;%p1%d;%p2%d;%?%p4%tM%em%;,