Copyright | (c) Eric Mertens 2016 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
This module provides the renderer for the client's text box input.
- textboxImage :: ClientState -> (Int, Int, Image)
Documentation
:: ClientState | |
-> (Int, Int, Image) | cursor column, new offset, image |
Compute the UI image for the text input box. This computes the logical cursor position on the screen to compensate for VTY's cursor placement behavior.