<dnkl>
ngortheone: the terminfos are very similar, and most applications will work. It's impossible to say what won't work. You should also be aware that future changes to xterm's terminfo could break foot in surprising ways.
<rockorager>
So setting TERM=xterm-256color means this will return false, just like TERM=foot
<rockorager>
I know that vim checks if your TERM is prefixed with “xterm” to enable some things
<dnkl>
rockorager: no? it does strncmp:ares. I.e it only checks the first letters of TERM. Thus it'll match all of xterm, xterm-256color, foot and foot-extra, to name a few
erectus has quit [Remote host closed the connection]
erectus has joined #foot
<dnkl>
not sure if related, but there's an mc.lib file, that seem to define key codes, based on terminal names. Alacritty (where Shift-F6 works for me) is in it, but foot is not
<dnkl>
that was it; I hot-patched it (/usr/share/mc/mc.lib), and added foot. After that, shift-f6 started working
WhyNotHugo has joined #foot
<dnkl>
as for neovim, I'm getting the same behavior in (at least) xterm, alacritty, contour and foot: shift-f6 is interpreted as f18
<j`ey>
I wrote something to change the themes, nice for running a VM with a different theme
<rockorager>
dnkl: my lack of c knowledge is showing
<rockorager>
dnkl: have you paid attention to the change in kitty keyboard?
<rockorager>
I think I pinged you but can’t remember
<dnkl>
I remember a ticket. The wording in it suggested the spec may change multiple times, and it wasn't until it made it into an actual release that the new behavior was decided.
<dnkl>
so, to summarize: keys that affect the set of active modifiers should include themselves in modifier list of the key event, for both presses and releases
erectus has quit [Remote host closed the connection]
erectus has joined #foot
<rockorager>
dnkl: that sounds right
erectus has quit [Remote host closed the connection]
sentriz has quit [Ping timeout: 260 seconds]
erectus has joined #foot
boomboxnation has quit [Ping timeout: 264 seconds]
alexherbo2 has joined #foot
sentriz has joined #foot
erectus has quit [Remote host closed the connection]
erectus has joined #foot
erectus has quit [Remote host closed the connection]
erectus has joined #foot
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #foot
erectus has quit [Ping timeout: 240 seconds]
erectus has joined #foot
erectus has quit [Remote host closed the connection]
erectus has joined #foot
sevz has quit [Quit: Client quit]
sevz has joined #foot
Biolunar has joined #foot
boomboxnation has joined #foot
boomboxnation has quit [Ping timeout: 264 seconds]
boomboxnation has joined #foot
rrogalski has quit [Quit: Quit: Dog probably tripped over power cord again.]
rrogalski has joined #foot
boomboxnation has quit [Ping timeout: 264 seconds]