<dnkl>
rockorager: think of foot's scrollback history as a "circular array" of row pointers. The screen (the bottom of the history) is just an index into this array. Scrolling is done by moving the index pointer.
<dnkl>
with left/right margins, that won't work
<dnkl>
given foot's current implementation, the easiest way is probably to memcpy the margin regions to "repair" them after scrolling.
bgs has joined #foot
<dnkl>
that said, it's most likely still faster than having the application redraw the contents
bgs has quit [Remote host closed the connection]
Ordoviz has joined #foot
loctune has joined #foot
loctune has quit [Client Quit]
Ordoviz has quit [Ping timeout: 240 seconds]
<rockorager>
Ah, that makes sense
<rockorager>
Does the alt screen have that same behavior?
<rockorager>
For example, neovim scrolls by deleting the top row and drawing the bottom row...which I wouldn't expect to benefit from that behavior but is still way better than redrawing every line
Ordoviz has joined #foot
<rockorager>
Hmm I hadn't thought about the margins in the primary screen - it's a huge pain there the more I think about it
Ordoviz has quit [Ping timeout: 246 seconds]
<dnkl>
rockorager: the alt screen is handled the same way, yes.
emcconvi- has quit [Ping timeout: 248 seconds]
emcconville has joined #foot
vyryls has joined #foot
Ordoviz has joined #foot
vyryls has quit [Quit: WeeChat 3.8]
an3223 has quit [Remote host closed the connection]
tprepper has quit [Remote host closed the connection]
tprepper has joined #foot
lack has quit [Read error: Connection reset by peer]
lack has joined #foot
Jong has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ordoviz has quit [Ping timeout: 246 seconds]
Ordoviz has joined #foot
Ordoviz has quit [Ping timeout: 252 seconds]
ayushnix has quit [Remote host closed the connection]
ayushnix has joined #foot
ayushnix has joined #foot
ayushnix has quit [Changing host]
Ordoviz has joined #foot
ayushnix has quit [Remote host closed the connection]
ayushnix has joined #foot
ayushnix has joined #foot
ayushnix has quit [Changing host]
Ordoviz has quit [Ping timeout: 246 seconds]
Ordoviz has joined #foot
Jong has joined #foot
Jong has quit [Ping timeout: 276 seconds]
Ordoviz has quit [Ping timeout: 246 seconds]
angry_vincent has quit [Remote host closed the connection]
powerman2206 has quit [Ping timeout: 248 seconds]
powerman2206 has joined #foot
ayushnix has quit [Remote host closed the connection]