erectus has quit [Remote host closed the connection]
erectus has joined #foot
erectus has quit [Read error: Connection reset by peer]
erectus has joined #foot
erectus has quit [Remote host closed the connection]
erectus has joined #foot
hspak has joined #foot
sentriz has quit [Read error: Connection reset by peer]
sentriz has joined #foot
rrogalski has quit [Quit: Quit: Dog probably tripped over power cord again.]
rrogalski has joined #foot
sevz has quit [Quit: Client quit]
sevz has joined #foot
sentriz has quit [Ping timeout: 256 seconds]
sentriz has joined #foot
uncomfy has joined #foot
uncomfy has quit [Ping timeout: 252 seconds]
narodnik2 has quit [Quit: WeeChat 4.1.2]
uncomfy has joined #foot
lbia has quit [Ping timeout: 276 seconds]
lbia has joined #foot
qyliss has quit [Quit: bye]
qyliss has joined #foot
narodnik has joined #foot
qyliss has quit [Quit: bye]
qyliss has joined #foot
bapt has quit [Quit: leaving]
bapt has joined #foot
uncomfy has quit [Ping timeout: 252 seconds]
<dnkl>
ngo
<dnkl>
ngortheone: neovim enables the kitty keyboard protocol in foot, but not in alacritty (last time I checked)
<dnkl>
might be a decode bug in neovim
<dnkl>
latest alacritty also has kitty kbd support. Not sure if neovim enables that or not, but fwiw, I see the exact same behavior in alacritty; Shift+F6 is interpreted as F18
<dnkl>
alacritty 0.13.1, neovim 0.9.5
<ngortheone>
dnkl this happens in midnight commander too
uncomfy has joined #foot
<ngortheone>
Shift-F6 is to rename a file in place
<ngortheone>
when I do this is in foot+mc it prompts me to delete the file instead
<ngortheone>
so I think it is unrelated to the application, but it is related to how foot emits events
uncomfy has quit [Remote host closed the connection]
chiselfuse has quit [Quit: leaving]
chiselfuse has joined #foot
<dnkl>
nah, I doubt it
<dnkl>
show me the escape sequence emitted by foot *inside* neovim
<ngortheone>
how can I do that?
<ahesford>
width = round(scale * round(width / scale)) kind of bugs me
<ahesford>
I'm thinking about the ramifications of capturing the integral numerator provided by fractional-scale and doing width = round((width * scale) / 120.0) to avoid the double-round
asvln has joined #foot
<dnkl>
ngortheone: no idea...
<dnkl>
ahesford: the point of the double round is to ensure the width we pick can be converted back and forth between logical and physical coordinates.
<ahesford>
that should also work using the rational scale and a single round after the fact
asvln has quit [Read error: Connection reset by peer]
<ngortheone>
I used showkey -a. Here is what shift+f6 emits in foot <ESC>[17;2~
<ngortheone>
and in alacritty: <ESC>[17;2~
<ngortheone>
hm...
<ngortheone>
why do apps behave differently?
asvln has joined #foot
<dnkl>
ngortheone: I told you: neovim uses the kitty keyboard protocol. When you run showkey, you see legacy key codes
<dnkl>
ahesford: right, but the scale factor is used in so many places that I don't think it's worth changing.
<ngortheone>
does midnight commander support kitty protocol too?
<dnkl>
ngortheone: probably not. But here's the thing; in the legacy keyboard protcol, the escape codes for F18 and Shift+F6 *are the same*
<ngortheone>
it still does not make any sense. Shift+F6 works fine in alacritty+mc, but doesn't in foot+mc
<ngortheone>
if mc does not support kitty protocol - it receives the same old legacy escape code from the terminal
<ahesford>
dnkl: makes sense
<dnkl>
ngortheone: for me, alacritty+mc behaves the same as foot+mc - it prompts for deletion
<ahesford>
for all logical sizes between 0 and 3840, and all integer scale numerators between 60 and 360 (scales 0.5 -> 3), there are 1844 pairs of width and scale where the current implementation differs from the alternative
<ahesford>
in those cases, the current double round is always one pixel smaller
<ngortheone>
dnkl: think I found a clue. My alacritty has TERM=xterm-256color, but foot has TERM=foot
<ngortheone>
when I set TERM=xterm-256color in foot - Shift+F6 works fine
asvln has quit [Read error: Connection reset by peer]
<dnkl>
ngortheone: guessing they check the *name* of the terminfo and change their behavior...
<ngortheone>
Yeah. My guess is that there are is no terminfo for foot or alacirtty
asvln has joined #foot
<ngortheone>
on my system at least
<ngortheone>
ok, does foot have its terminfo file? can I somehow point apps to it explicitly?
asvln has quit [Read error: Connection reset by peer]
asvln has joined #foot
asvln has quit [Read error: Connection reset by peer]
asvln has joined #foot
asvln has quit [Read error: Connection reset by peer]
asvln has joined #foot
asvln has quit [Read error: Connection reset by peer]
narodnik has quit [Quit: WeeChat 4.1.2]
narodnik has joined #foot
chomwitt has joined #foot
newchair has quit [Ping timeout: 260 seconds]
cbb has joined #foot
<dnkl>
ngortheone: you're already using foot's terminfo
cbb has quit [Quit: WeeChat 4.1.2]
chomwitt has quit [Remote host closed the connection]
<ngortheone>
dnkl: are there any downsides to setting TERM=xterm-256color ? What features will I loose?
boomboxnation has quit [Ping timeout: 260 seconds]