dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.16.2 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
Biolunar has joined #foot
boomboxnation has quit [Ping timeout: 252 seconds]
boomboxnation has joined #foot
rcf1 has joined #foot
h-erectus has joined #foot
rcf has quit [Quit: WeeChat 3.8]
rcf1 is now known as rcf
h-erectus has quit [Ping timeout: 240 seconds]
baltazar has quit [Ping timeout: 252 seconds]
baltazar has joined #foot
Biolunar has quit [Ping timeout: 240 seconds]
andyrtr has quit [Quit: ZNC 1.8.2 - https://znc.in]
andyrtr has joined #foot
sentriz has quit [Ping timeout: 264 seconds]
sentriz has joined #foot
<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> I was curious so looked into it
<rockorager> This is a super weird behavior
<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
<WhyNotHugo> theme.sh has about 450 themes in a very simple format: https://github.com/lemnos/theme.sh/blob/master/themes/elio
<WhyNotHugo> I'm thinking of programatically converting them into foot themes and packaging them as foot-themes.
<j`ey> on that note, maybe foot should ship it's default as a theme fle
<j`ey> file
<dnkl> j`ey: it does
<j`ey> oh
<j`ey> dnkl: which one is it?
<dnkl> j`ey: starlight
<j`ey> ok ty
<dnkl> ngortheone: regarding neovim, for the terminfos that _do_ work, do they contain a kf18 entry?
<dnkl> (TERM=<terminfo> infocmp | grep kf18)
<dnkl> if that entry is missing, it is likely to be the reason shift-f6 works
<dnkl> WhyNotHugo: be my guest :)
<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 I've been waiting...
<rockorager> It’s decided now. https://github.com/kovidgoyal/kitty/issues/6913
<rockorager> Unreleased still
<rockorager> Spicy issue though
<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]
boomboxnation has joined #foot