xenrox has quit [Remote host closed the connection]
xenrox has joined #foot
bgs has quit [Remote host closed the connection]
dviola has quit [Quit: WeeChat 3.8]
andrea_ is now known as andrea
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #foot
dviola has joined #foot
<dviola>
hi, I am not sure if this has been reported yet, but the current version of foot (foot 1.14.0-1) breaks two use cases for me with ranger and vim
<dviola>
the ranger issue: whenever I hit enter on a image (jpg, etc) it opens the image with imv, but after pressing q on imv to quit, ranger wants to rename the image
<dviola>
the vim issue: whenever I change virtual desktops with sway, vim will tell me "E349: No identifier under cursor"
<dviola>
both issues disappear with xterm or if I change the TERM variable with foot
xd1le has joined #foot
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #foot
taupiqueur1 has joined #foot
<dnkl>
dviola: vim recently added support for the kitty keyboard protocol, and is enabling that with foot. What you're seeing is most likely issues with vim's implementation of it. Not sure about ranger, but probably the same thing
alexherbo2 has quit [Ping timeout: 245 seconds]
taupiqueur has quit [Ping timeout: 250 seconds]
<dnkl>
try comparing with kitty instead of xterm, and see if anything reproduces there
<dviola>
dnkl: I just tried with kitty and can't reproduce the two issues there
<dnkl>
it kind of sounds like the compositor is passing through key presses it shouldn't. Except that you say the issue gets fixed by setting TERM in foot... the latter is a *strong* indication vim/ranger are doing something wrong (or doing things differently) when TERM=foot
<dnkl>
might still be worth testing a different compositor as well
<dviola>
alright
erectus has quit [Write error: Connection reset by peer]
erectus has joined #foot
<dviola>
dnkl: I couldn't figure out how virtual desktops work on weston so I could only reproduce the ranger issue there
<dviola>
but I can reproduce both issues on river
<dviola>
dnkl: if you think it'd be useful I can spend some time trying to bisect
<tawonga>
oftc channels
<dnkl>
dviola: no, these are vim and ranger issues
<dnkl>
the foot terminfo from ncurses enables private mode 1004
<dnkl>
this is "report focus in/out" events
<dnkl>
that is, foot will send escapes to the client when the foot window gains or looses focus
<dnkl>
at least ranger (didn't test vim) doesn't seem to handle these escapes
nrv has joined #foot
alexherbo2 has joined #foot
<dviola>
dnkl: oh, ok
<dviola>
oh, I didn't notice it was just a focus thing
<dviola>
yeah, I can reproduce the vim issue on weston too
<dnkl>
dviola: i think these are terminfo changes driven by vim, so chances are the vim issues will be resolved automatically by a future vim update
<dviola>
dnkl: sounds good, thanks
<nrv>
Hey. Why truecolor don't working in tmux?
<nrv>
I've installed `foot` and `foot-terminfo` (Arch). My tmux config has the following `terminal-overrides` and `default-terminal`: https://0x0.st/HbUG.OVZ5Z0FI
<nrv>
With that setup, truecolor works in st, alacritty and kitty, but not in foot
<nrv>
I've read that and still dont get what to do
<dnkl>
since the upstream terminfo doesn't want to include tmux specific capabilities, and since tmux doesn't special case foot like it does many other terminals, you either have to add tmux overrides for foot, out use the terminfo shipped with foot (that does include the tmux specific capabilities)
<dnkl>
s/out/or
nrv has quit [Ping timeout: 245 seconds]
nrv has joined #foot
<nrv>
and how exactly do i use terminfo shipped with foot?
<nrv>
sorry, i don't understand what i should do, i thought installing them is enough
<nrv>
i've also tried to set default-terminal/TERM to foot in tmux, nothing
nrv has quit [Ping timeout: 245 seconds]
nrv has joined #foot
nrv has quit [Ping timeout: 245 seconds]
cbb has joined #foot
nrv has joined #foot
<dnkl>
nrv: if your distro provides a separate terminfo package for foot, you need to install it, and then set term=whatever-the-terminfo-name-is, in foot.ini
<dnkl>
most distros call it "foot-extra", but you'll have to check the contents of your distros package to be sure
<nrv>
/usr/share/terminfo/f/foot is owned by ncurses 6.4-1
<nrv>
/usr/share/terminfo/f/foot-extra is owned by foot-terminfo 1.14.0-1
<dnkl>
note: I may choose to synch up our terminfo work ncurses' (wrt to the focus in/out events), so ranger will have to start recognizing these escapes at some point (or move away from terminfo...)
<dnkl>
s/work/with
sugarbeet has quit [Ping timeout: 250 seconds]
sugarbeet has joined #foot
xd1le has quit [Quit: xd1le]
nrv has quit [Ping timeout: 245 seconds]
cbb has quit [Ping timeout: 240 seconds]
cbb has joined #foot
rrogalski has quit [Ping timeout: 256 seconds]
rrogalski has joined #foot
yonson has quit [Ping timeout: 250 seconds]
taupiqueur2 has joined #foot
taupiqueur1 has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Ping timeout: 245 seconds]
yonson has joined #foot
angry_vincent has quit []
alexherbo2 has joined #foot
cbb has quit [Quit: WeeChat 3.8]
qyliss has quit [Remote host closed the connection]
qyliss has joined #foot
yonson has quit [Remote host closed the connection]
yonson has joined #foot
alexherbo2 has quit [Remote host closed the connection]