<dnkl>
Arnavion: total number of lines is visible lines plus configured scrollback lines. That number is then rounded up to the nearest power of two.
<Arnavion>
Yes, I read that
<Arnavion>
But I'm pretty sure 70 + 1 rounded up to a power of 2 is still less than 2000
<dnkl>
Arnavion: works for me. Are you sure it's reading the configuration?
<Arnavion>
Yes, everything else in the config is taking effect
<Arnavion>
font, colors, key bindings
<Arnavion>
But okay, if it's indeed expected to work the way I wrote, I can make some time to debug it
<dnkl>
Arnavion: yeah. With 'scrollback.lines=1' is expect 128 actual lines, unless you're screen is really tall :). And that's what I'm seeing when testing quickly
<dnkl>
I'd*
<Arnavion>
Out of curiosity, what's the reason for rounding up to a power of 2?
<dnkl>
Arnavion: to be able to do wrap-around calculations by and: ing instead of doing modulus calculations
<Arnavion>
I see
<dnkl>
Arnavion: if you haven't already, check the log output and look for errors. Check your config do that scrollback lines isn't being set again further down.
<dnkl>
Perhaps we should log all conf values with "foot -d debug" 🤔
<Arnavion>
There are no errors, and yes I only have the one line setting scrollback.lines
<Arnavion>
and also, to be sure, info: config.c:2362: loading configuration from /home/arnavion/.config/foot/foot.ini < That is indeed the file I've been editing
<Arnavion>
Hmm, with default options and emitting 5000 lines, I can only scroll up to 2954, and indeed 5001 - 2954 + 1 == 2048 == next power of 2 after 1000 + 70
<Arnavion>
Uhh, I'm not sure what I've done, but it works now... With lines = 1, I can only scroll up to 4874, and indeed 5001 - 4874 == 128 == next power of 2 after 1 + 70. And with 2000 lines only to 1874. I'm pretty sure when I was testing this morning I was able to scroll back all the way to 1
<Arnavion>
I'm pretty sure I was starting a new foot for every test so it would've been reading the changed config...
<Arnavion>
But it definitely works now. Tried with multiple terminal windows just to be sure. Sorry for the noise
<dnkl>
Arnavion: maybe tested with footclient? Anyway, no worries, glad we worked it out :)