[commit: haskeline] master: Use a writer monad in the Terminfo backend. (2757e8a)
Ian Lynagh
igloo at earth.li
Mon May 7 13:53:31 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/haskeline
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/2757e8aea60f0a595a7f6f942417d3acab86392a
>---------------------------------------------------------------
commit 2757e8aea60f0a595a7f6f942417d3acab86392a
Author: Judah Jacobson <judah.jacobson at gmail.com>
Date: Fri Mar 23 18:36:40 2012 +0000
Use a writer monad in the Terminfo backend.
The main benefit, besides simplifying the code, is that we
now draw all parts of a line change in one terminal action.
This prevents "flicker" from the cursor appearing briefly
in an intermediate state.
System/Console/Haskeline/Backend/Terminfo.hs | 117 +++++++++++++-------------
1 files changed, 59 insertions(+), 58 deletions(-)
Diff suppressed because of size. To see it, use:
git show 2757e8aea60f0a595a7f6f942417d3acab86392a
More information about the Cvs-libraries
mailing list