dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.13.1 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
fitrh has joined #foot
radu2427534 has joined #foot
smach has quit [Ping timeout: 260 seconds]
fitrh has quit [Ping timeout: 260 seconds]
xd1le has joined #foot
fitrh has joined #foot
caveman has joined #foot
smach has joined #foot
bgs has joined #foot
caveman has quit [Remote host closed the connection]
caveman has joined #foot
V has quit [Remote host closed the connection]
bgs has quit [Remote host closed the connection]
fitrh has quit [Read error: Connection reset by peer]
caveman has quit [Ping timeout: 255 seconds]
caveman has joined #foot
smach has quit []
caveman has quit [Ping timeout: 255 seconds]
smach has joined #foot
<w0rm> so at some point in the past I was mentioning that I had foot server randomly quit in some situations. Well - I have a reproducer now but haven't tracked down the culprit...
<w0rm> When I run "pkill kanshi && kanshi &" things work as normal. Except I forgot to do '&!' in zsh so kanshi is not detached from the shell
<w0rm> when I try to quit the terminal/shell where I ran this command zsh warns that I have unfihished jobs. When I actually ignore the warning and quit - foot server teminates
<w0rm> I wonder if anyone could try the above if they have kanshi/zsh - might help narrow down my search
<w0rm> notably - I can't trigger this with anything else other than kanshi
<w0rm> obviously I have a solution - do a proper job detach when running kanshi so it's not a big deal
alebastr has quit [Remote host closed the connection]
alebastr has joined #foot
caveman has joined #foot
phost has joined #foot
<dnkl> w0rm: can't you compile a debug version of foot and get a backtrace?
<dnkl> or maybe you already have it; if you have a core dump, and your distro provides debug packages
<dnkl> s/packages/symbols
hardcoresushi has joined #foot
hardcoresushi has quit [Quit: WeeChat 3.7.1]
<w0rm> I can do that but the thing is foot doesn't actually crash
<w0rm> it looks like it cleanly exits - there's logs about broken wayland connection but I think that might be from kanshi itself. I'll play around a bit with logging to narrow it down
hardcoresushi has joined #foot
<w0rm> so this is what happens just before the exit: https://dpaste.com/4LTKU5V4E
<w0rm> and the output is not from kanshi (I redirected that output)
hardcoresushi has quit [Ping timeout: 256 seconds]
<dnkl> w0rm: that means the compositor closed the connection to foot.
<dnkl> could be an issue with the compositor
<dnkl> or that there's a flood of events not being handled quickly enough
<dnkl> try running the foot server with WAYLAND_DEBUG=1, and redirect the output to a file
<dnkl> hmm, that looks like a bug in Sway, that should be fixed in latest master
<dnkl> or maybe wlroots. Can't remember
<w0rm> that looks like a good match
<w0rm> I'll see if I can get a backport of that patch or update to master/RC and see if I can still reproduce
hardcoresushi has joined #foot
caveman has quit [Ping timeout: 255 seconds]
caveman has joined #foot
helmut has left #foot [#foot]
<dnkl> w0rm: if it still reproduces, try to get the WAYLAND_DEBUG=1 output. It's likely a race in the compositor/wlroots, similar but not identical to the wlroots issue mentioned above
caveman has quit [Ping timeout: 255 seconds]
caveman has joined #foot
kraftwerk28 has quit [Quit: ZNC 1.8.2 - https://znc.in]
kraftwerk28 has joined #foot
ayushnix has joined #foot
ayushnix has quit [Changing host]
ayushnix has joined #foot
ayushnix has quit [Ping timeout: 260 seconds]
bgs has joined #foot
smach has quit [Read error: Connection reset by peer]
phost has quit [Quit: WeeChat 3.7.1]
<hardcoresushi> Hi, I'm using aerc mail client with foot. I uses its embedded terminal running neovim to compose mails. However, colors are incorrect when enabling 'termguicolor' (for example cyan foreground when using gruvbox theme).
<hardcoresushi> I can reproduce this with default config for aerc, foot and neovim.
<hardcoresushi> It works fine when changing the TERM environment variable or when disabling 'termguicolor'.
<hardcoresushi> I'm asking help here but I'm not sure whether it's a problem with foot or aerc.
alebastr has quit [Ping timeout: 260 seconds]
smach has joined #foot
<dnkl> hardcoresushi: have you tested aerc+neovim in other terminal emulators?
<dnkl> if that works, either aerc or neovim is most likely during comparing TERM, instead of looking at the actual terminfo. i.e it's very unlikely a bug in foot
alebastr has joined #foot
<hardcoresushi> dnkl: Yes it works fine in kitty
<hardcoresushi> Thanks for the explanation, I will report this on the #aerc channel
<hardcoresushi> (I think it's more likely to come from aerc than from neovim)
<dnkl> fwiw: s/during/string
<dnkl> hardcoresushi: are you using latest aerc (0.13)?
<dnkl> the changelog says the terminal backend in aerc was changed in the last release
<dnkl> aerc+neovim seems to work for me (with aerc 0.13)
V has joined #foot
<hardcoresushi> Yes, aerc 0.13.0-1 from debian:sid
ayushnix has joined #foot
ayushnix has joined #foot
ayushnix has quit [Changing host]
<w0rm> dnkl: FYI I tested on sway 1.8 rc2 and it's not happening anymore
<dnkl> w0rm: good to hear, thanks!
alebastr has quit [Ping timeout: 268 seconds]
alebastr has joined #foot
smach has quit []
<hardcoresushi> Is there a way to dynamically change the background alpha value of foot ?
<dnkl> hardcoresushi: you can use an OSC-11 escape sequence: https://codeberg.org/dnkl/foot/src/branch/master/doc/foot-ctlseqs.7.scd#L628-L633
<hardcoresushi> dnkl: Awesome! Thank you very much
<hardcoresushi> Btw, I was wondering if it's possible to pipe the scrollback in a program executed in the current terminal, and not as a background process
hexa has quit [Quit: WeeChat 3.7.1]
hexa- has joined #foot
caveman has quit [Ping timeout: 255 seconds]
caveman has joined #foot
xd1le has quit [Quit: xd1le]
hardcoresushi has quit [Quit: WeeChat 3.7.1]