dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.7.2 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
micr0 has quit [Ping timeout: 268 seconds]
micr0 has joined #foot
micr0 has joined #foot
micr0 has quit [Ping timeout: 268 seconds]
avane has quit [Ping timeout: 252 seconds]
micr0 has joined #foot
micr0 has joined #foot
<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 :)
<Arnavion> No, I've just been using regular foot
micr0 has quit [Quit: micr0]
Arnavion has quit [Quit: Arnavion]
Arnavion has joined #foot
novakane has joined #foot
avane has joined #foot
yyp has joined #foot
testuser[m]1 has joined #foot
<testuser[m]1> Hi
<testuser[m]1> there is a missing NULL check here https://codeberg.org/dnkl/foot/src/branch/master/search.c#L801
<testuser[m]1> was segfaulting for me
<testuser[m]1> seems to work ok if i initialize compose_status to any garbage like 0 and change it only if xkb_compose_state is not null
mvdan has quit [Quit: Bridge terminating on SIGTERM]
priner[m] has quit [Quit: Bridge terminating on SIGTERM]
testuser[m]1 has quit [Quit: Bridge terminating on SIGTERM]
mvdan has joined #foot
priner[m] has joined #foot
testuser[m]1 has joined #foot
<dnkl> testuser[m]1: thanks, will take a look later!
yyp has quit [Read error: Connection reset by peer]
yyp has joined #foot
<dnkl> testuser[m]1: I have a patch ready. Will try to push once I get home
<testuser[m]1> nice, thanks!
novakane has quit [Quit: WeeChat 3.2]
novakane has joined #foot
novakane has quit [Quit: WeeChat 3.2]
novakane has joined #foot
novakane has quit [Client Quit]
novakane has joined #foot
cbb has joined #foot
micr0 has joined #foot
micr0 has joined #foot
lechner has quit [Quit: WeeChat 3.0]
lechner has joined #foot
cbb has quit [Ping timeout: 268 seconds]
ollysmith has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
ollysmith has joined #foot
cbb has joined #foot
micr0 has quit [Remote host closed the connection]
micr0 has joined #foot
micr0 has joined #foot
micr0 has quit [Client Quit]
yyp has quit [Remote host closed the connection]
cbb has quit [Ping timeout: 252 seconds]
cbb has joined #foot
_whitelogger has joined #foot
novakane has quit [Quit: WeeChat 3.2]
novakane has joined #foot
cbb has quit [Ping timeout: 268 seconds]
cbb has joined #foot
cbb has quit [Ping timeout: 272 seconds]
cbb has joined #foot
novakane has quit [Quit: WeeChat 3.2]
cbb has quit [Quit: WeeChat 3.2]
Arnavion has quit [Ping timeout: 264 seconds]
Arnavion has joined #foot