glirc-2.20: Console IRC client

Copyright(c) Eric Mertens, 2016
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Client.Image.Textbox

Description

This module provides the renderer for the client's text box input.

Synopsis

Documentation

textboxImage Source #

Arguments

:: 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.