Copyright | (c) Eric Mertens 2016 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- scrollAmount :: ClientState -> Int
- drawLayout :: ClientState -> (Int, Int, Int, Image)
Documentation
:: ClientState | client state |
-> Int | scroll amount |
Compute the number of lines in a page at the current window size
:: ClientState | client state |
-> (Int, Int, Int, Image) | overscroll, cursor pos, next offset, final image |
Compute the combined image for all the visible message windows.