The OpenD Programming Language

ScrollbackBuffer.scrollTopPosition

Given a size, how far would you have to scroll back to get to the top?

Please note that this is O(n) with the length of the scrollback buffer.

struct ScrollbackBuffer
int
scrollTopPosition
(
int width
,
int height
)

Meta