| Copyright | (c) Eric Mertens, 2016 |
|---|---|
| License | ISC |
| Maintainer | emertens@gmail.com |
| Safe Haskell | None |
| Language | Haskell2010 |
Client.Image.Textbox
Description
This module provides the renderer for the client's text box input.
- textboxImage :: ClientState -> (Int, Image)
Documentation
Arguments
| :: ClientState | |
| -> (Int, Image) | cursor column, 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.