boomboxnation-1 has quit [Ping timeout: 260 seconds]
orahcio has quit [Remote host closed the connection]
boomboxnation has quit [Read error: Connection reset by peer]
Consolatis has quit [Ping timeout: 246 seconds]
Consolatis has joined #foot
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
mtm has joined #foot
Consolatis has quit [Ping timeout: 248 seconds]
Consolatis has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
aelius has quit [Remote host closed the connection]
aelius has joined #foot
chilledfrogs has quit [Quit: connection reset by purr]
chilledfrogs has joined #foot
chilledfrogs has quit [Quit: connection reset by purr]
chilledfrogs has joined #foot
jmcantrell has quit [Quit: WeeChat 4.5.2]
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
mtm has quit [Read error: Connection reset by peer]
mtm has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
azerov has quit [Quit: Gateway shutdown]
azerov has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation-1 has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
sugarbeet has quit [Ping timeout: 248 seconds]
sugarbeet has joined #foot
puida has quit [Ping timeout: 248 seconds]
boomboxnation has quit [Read error: Connection reset by peer]
aelius_ has joined #foot
ninewise_ has joined #foot
puida has joined #foot
ninewise has quit [Ping timeout: 260 seconds]
aelius has quit [Ping timeout: 260 seconds]
noteness has quit [Ping timeout: 260 seconds]
aelius_ is now known as aelius
noteness_ has joined #foot
boomboxnation has joined #foot
anarcat has quit [Ping timeout: 276 seconds]
ninewise_ is now known as ninewise
lindsay has left #foot [ERC 5.6.0.30.1 (IRC client for GNU Emacs 30.1)]
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
mtm has quit [Ping timeout: 260 seconds]
mtm has joined #foot
kociap has joined #foot
<kociap>
dnkl I'm looking at the code and whenever there's a change of cursor position from offset to view relative, there's a line `cursor.row &= grid->num_rows - 1`. I do not understand that part. what does that do?
orahcio has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
<dnkl>
kociap: the scrollback history is a circular buffer. &= num_rows - 1 is the same as "% num_rows", i.e. it ensures the calculated row number is within range
aelius_ has joined #foot
aelius has quit [Ping timeout: 248 seconds]
aelius_ is now known as aelius
<kociap>
wouldn't that only work when num_rows is a multiple of 2? is there a guarantee this is the case?
<dnkl>
correct, and yes, that is guaranteed
<bapt>
w
<bapt>
5~
<bapt>
ljms
<bapt>
oups
<bapt>
sorry
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
<manio>
bapt: cat alert ;)
noteness_ has quit [Ping timeout: 248 seconds]
boomboxnation-1 has quit [Ping timeout: 260 seconds]
noteness has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]