brocellous has quit [Remote host closed the connection]
brocellous has joined #foot
brocellous has quit [Remote host closed the connection]
brocellous has joined #foot
cbb has joined #foot
<baltazar>
uhm... foot does some weird stuff when I scroll to the top while the scrollback buffer is full and the program outputs something more
<baltazar>
I can see it overwrite the start of the scrollback
pranjal has joined #foot
<dnkl>
i see it too. I think the issue is that we're not moving the viewport down. The "overwritten" lines are reused scrollback lines that technically are at the bottom, but since the viewport hasn't been updated, they get displayed at the top instead
pranjhol has quit [Quit: Client closed]
pranjal has quit [Quit: WeeChat 3.5]
<dnkl>
yup, that's it. I have a POC patch that fixes the "normal" scrolling direction. Need to do the same for reverse scrolling, and hopefully clean things up a bit.
<testuser[m]>
Does foot (or terminal emulators in general) have some way to unit test the terminal itself?
<dnkl>
testuser[m]: don't know about "in general", but foot does have some unittests. Just look for UNITTEST in the source code. There's also a standalone test in the "tests" directory
<dnkl>
for vt100 conformity, there's "vttest" (by the XTerm developer/maintainer)
<testuser[m]>
Ohh
<sterni>
dnkl: missed it, thanks for the reminder; replied