dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.12.1 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
Arnavion has quit [Ping timeout: 246 seconds]
Arnavion has joined #foot
Arnavion has quit [Ping timeout: 256 seconds]
hill has joined #foot
brocellous has quit [Remote host closed the connection]
Arnavion has joined #foot
brocellous has joined #foot
hill has quit [Remote host closed the connection]
hill has joined #foot
hill has quit [Remote host closed the connection]
hill has joined #foot
krobelus has joined #foot
<krobelus> looks like pasting with control-shift-v drops tab characters, is that intended behavior?
hill has quit [Remote host closed the connection]
an3223 has quit [Remote host closed the connection]
an3223 has joined #foot
<dnkl> krobelus: no it doesn't. But the client application may
<dnkl> how are you testing?
<krobelus> dnkl: First I run `printf '\tx\ty' | wl-copy`. Pasting this into a bash prompt works fine but pasting it into cat makes it just "xy".
<dnkl> yup, cat, or maybe the tty, eats the tabs in this case
<dnkl> foot doesn't translate the tab character to anything else when sending the paste data to the client application. What happens after that is mostly up to the client application
<krobelus> the tabs are preserved in gnome-terminal or konsole
<krobelus> so I guess it's down to stty
<dnkl> hmm, yeah, works in kitty too
<dnkl> ah, hold on... sorry, I was wrong :| we *do* strip tab characters when bracketed paste is *disabled*. This behavior was copied from xterm
<dnkl> I think it should be safe to allow HT in non-bracketed mode as well
<krobelus> Shift+Insert in xterm does include the tabs
<dnkl> if I remember correctly, I based that on xterm's documentation. May very well be that they've changed its behavior without updating the documentation. The behavior is also configurable, so there's a chance you're not seeing the default behavior
<dnkl> but yeah, works for me as well in XTerm
<dnkl> krobelus: the PR that started stripping control characters mention that XTerm *does* filter tabs. But instead of just removing them, it replaces them with spaces.
<krobelus> dnkl: but xterm preserves the tabs (does not convert to spaces) when I disable bracketed paste mode (with `printf '\e[?2004l'`)
<dnkl> yeah, it looks that way. I updated the foot issue mentioned above, a while ago. I'm trying to find out where I saw this behavior documented
tomleb- has joined #foot
tomleb1 has quit [Ping timeout: 260 seconds]
<dnkl> krobelus: so, it mostly likely came from XTerm's "disallowedPasteControls" resource. It's documented in XTerm's man page. However, at least in the latest release (372), the default list is BS,DEL,ENQ,EOT,ESC,NUL. I.e. HT is not included.
<dnkl> not sure if this is something that has changed, or if I misread it the last time
cvmn has joined #foot
jeromenerf has quit [Quit: leaving]
cvmn has quit [Ping timeout: 240 seconds]
cvmn has joined #foot
cvmn has quit [Quit: the #end of the abyss]
an3223 has quit [Ping timeout: 240 seconds]
an3223 has joined #foot
ynakao has quit [Quit: WeeChat 3.5]
ynakao has joined #foot
Consolatis_ has joined #foot
Consolatis has quit [Killed (silver.libera.chat (Nickname regained by services))]
ptrc_ has joined #foot
xenrox_ has joined #foot
lanodan_ has joined #foot
lanodan has quit [*.net *.split]
xenrox has quit [*.net *.split]
ptrc has quit [*.net *.split]
Lord has quit [*.net *.split]
xenrox_ is now known as xenrox
ptrc_ is now known as ptrc
lanodan_ is now known as lanodan
Lord has joined #foot