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
h-erectus has quit [Ping timeout: 240 seconds]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #foot
chomwitt has quit [Ping timeout: 246 seconds]
rrogalski has quit [Quit: Quit: Dog probably tripped over power cord again.]
rrogalski has joined #foot
qaqland1 has joined #foot
qaqland has quit [Ping timeout: 268 seconds]
qaqland1 is now known as qaqland
tkna has quit [Read error: Connection reset by peer]
lh_ has quit [Read error: Connection reset by peer]
geemili_ has quit [Read error: Connection reset by peer]
psnszsn has quit [Read error: Connection reset by peer]
tachi has quit [Remote host closed the connection]
cpli has quit [Write error: Connection reset by peer]
p00f has quit [Remote host closed the connection]
cat has quit [Read error: Connection reset by peer]
rselim has quit [Read error: Connection reset by peer]
gbrlsnchs has quit [Read error: Connection reset by peer]
dooba has quit [Read error: Connection reset by peer]
ifreund has quit [Read error: Connection reset by peer]
d4ve has quit [Read error: Connection reset by peer]
jmcantrell has quit [Read error: Connection reset by peer]
coder_kalyan has quit [Read error: Connection reset by peer]
brocellous has quit [Read error: Connection reset by peer]
rodrgz has quit [Read error: Connection reset by peer]
leon-p has quit [Read error: Connection reset by peer]
onjen has quit [Write error: Connection reset by peer]
mcepl has quit [Read error: Connection reset by peer]
novakane has quit [Write error: Connection reset by peer]
Hummer12007 has quit [Read error: Connection reset by peer]
ddevault has quit [Write error: Connection reset by peer]
WhyNotHugo has quit [Read error: Connection reset by peer]
SusanTheNerd has quit [Read error: Connection reset by peer]
pvsr has quit [Read error: Connection reset by peer]
rockorager has quit [Read error: Connection reset by peer]
akspecs_ has quit [Write error: Connection reset by peer]
andrea has quit [Write error: Connection reset by peer]
freed00m has quit [Write error: Connection reset by peer]
dekedro has quit [Write error: Connection reset by peer]
dnkl has quit [Read error: Connection reset by peer]
c7s has quit [Read error: Connection reset by peer]
geemili has joined #foot
gbrlsnchs has joined #foot
jmcantrell has joined #foot
pvsr has joined #foot
WhyNotHugo has joined #foot
Hummer12007 has joined #foot
tkna has joined #foot
rockorager has joined #foot
coder_kalyan has joined #foot
c7s has joined #foot
brocellous has joined #foot
dooba has joined #foot
dnkl has joined #foot
onjen has joined #foot
rodrgz has joined #foot
novakane has joined #foot
ddevault has joined #foot
cat has joined #foot
freed00m has joined #foot
SusanTheNerd has joined #foot
mcepl has joined #foot
lh has joined #foot
d4ve has joined #foot
akspecs has joined #foot
leon-p has joined #foot
p00f has joined #foot
cpli has joined #foot
andrea has joined #foot
tachi has joined #foot
dekedro has joined #foot
ifreund has joined #foot
psnszsn has joined #foot
rselim has joined #foot
qaqland has quit [Read error: Connection reset by peer]
qaqland 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
nabla has joined #foot
<nabla> Greetings. First time on this channel, looking for a bit of help with foot.
<nabla> In foot, is it possible to turn off "reflow" of window contents after window has been resized. My typical workflow consists of doing something, then clearing all windows before I start next task. Reflow messes this up if / when I open a new window.
<dnkl> nabla: not really. The alt screen doesn't reflow, but it also does not have a scrollback, so probably not that useful in this case
<nabla> Thanks for the answer. Would you perhaps consider adding an option for this? I have used many terminals over the years, and I really like foot, and this is the only thing that is troublesome for me.
<j`ey> dont other terminals reflow on resize?
<nabla> Not the way foot does. I just tried with xfce4-terminal. If I [1. run "ls" 2. clear screen 3. open a new terminal] then xfce4-terminal does not bring the old "ls" contents back, it stays cleared.
<j`ey> oh, so I assume youre using a tiling wm then? (and opening a new window resizes things..?)
<nabla> Yes, I am running foot under sway. But to be honest, this is more complicated than I expected. I have been observing this problem for weeks, but now I am having some trouble replicating it.
<nabla> ... under all conditions.
<nabla> Ok, so I think I now know a condition under which foot is causing me trouble with reflow. So, on a new desktop, in a tiling wm: [1. open a new instance of foot 2. assuming bash, run "for i in $(seq 1 100); do echo $i; done" 3. clear screen 4. open a new instance of foot] This will bring back some of the old bash output in the first instance of foot.
<nabla> It is just that recently my workflow has always resulted in long terminal output, so this happens, like, all the time.
<nabla> And I just tested the same process with xfce4-terminal under the same wm (sway=, so this does not seem to be a wm issue.
<nabla> ... because with xfce4-terminal, the same issue does not happen.
init has quit [Read error: Connection reset by peer]
<Arnavion> `clear` in foot always clears scrollback for me. It outputs `\x1b[H\x1b[322J\x1b[3J` which is what `tput clear` would also compute based on foot's terminfo
<Arnavion> What $TERM are you using
<Arnavion> `\x1b[H\x1b[2J\x1b[3J` I meant (extra `32` in the original)
<dnkl> nabla: I suspect one of two things, or both in combination, may cause this
<dnkl> first, many terminal's don't implement 2J correctly (which is what 'clear' usually maps to?), according to the VT specification
<dnkl> instead of clearing the screen, they scroll out the contents to the scrollback history
<dnkl> second, foot always tries to "pull down" as many rows as possible after a reflow
<dnkl> there's an issue somewhere on codeberg, to somehow special case reflow after a screen clear
<dnkl> depending on _how_ you clear the screen, ut might be possible to reconfigure the clear command/shortcut to use 3J instead of 2J. This will clear the entire scrollback history, instead of just the current screen
chomwitt has joined #foot
ollysmith has quit [Ping timeout: 245 seconds]
ollysmith has joined #foot
<Arnavion> >(which is what 'clear' usually maps to?) < `clear` maps to what the terminfo says
<Arnavion> Well, ncurses clear does. I don't know about busybox clear
ollysmith_ has joined #foot
ollysmith has quit [Ping timeout: 260 seconds]
ollysmith_ has quit [Ping timeout: 260 seconds]
ollysmith has joined #foot
ollysmith has quit [Ping timeout: 246 seconds]
ollysmith_ has joined #foot
<nabla> Arnavion echo $TERM outputs foot-extra
<Arnavion> What does `clear | xxd` output
<nabla> Arnavion: seems I have to install a new package to run xxd...
<Arnavion> Sure, or `clear | hexdump`
<nabla> Arnavion: output of 'clear | hexdump' follows:
<nabla> 0000000 5b1b 1b48 325b 1b4a 335b 004a
<nabla> 000000b
<Arnavion> Yes so that's the same sequence I said originally
<nabla> Heck, the problem disappears if I run 'clear' instead of typing Ctrl-L. So this is a key binding issue?
<Arnavion> So all this time you were talking about ctrl-L, not `clear` ?
<Arnavion> Ctrl-L is handled by bash via its readline configuration
ollysmith_ has quit [Ping timeout: 260 seconds]
ollysmith has joined #foot
<nabla> Yes, sorry, I have always associated Ctrl-L with 'clearing.' My bad. In any case, this was most useful for me, so thank you very much!
nabla has quit [Quit: Thanks again, great piece of software you have created here!]
<Arnavion> The internet says ctrl-L maps to `clear -x` by default but it's not the case for me, so I wonder if the default changed at some point. I don't use Ctrl-L so I don't know. What version of bash do you have?
<Arnavion> Welp
ollysmith has quit [Quit: ZNC 1.8.2+deb4+b1 - https://znc.in]
ollysmith has joined #foot
ollysmith has quit [Ping timeout: 276 seconds]
ollysmith has joined #foot
ollysmith has quit [Client Quit]
ollysmith has joined #foot
ollysmith has quit [Ping timeout: 264 seconds]
ollysmith has joined #foot
ollysmith_ has joined #foot
ollysmith has quit [Ping timeout: 256 seconds]
ollysmith_ has quit [Quit: ZNC 1.8.2+deb4+b1 - https://znc.in]
ollysmith has joined #foot
zdykstra has left #foot [WeeChat 4.1.2]
init has joined #foot
chomwitt has quit [Ping timeout: 268 seconds]