[commit: haskeline] master: Refactor Term to make the backends more modular. (68f93fa)
Ian Lynagh
igloo at earth.li
Mon May 7 13:53:35 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/haskeline
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/68f93fa6205845234ba98c79fbf8ff58ee8705db
>---------------------------------------------------------------
commit 68f93fa6205845234ba98c79fbf8ff58ee8705db
Author: Judah Jacobson <judah.jacobson at gmail.com>
Date: Sun Mar 25 14:24:47 2012 +0000
Refactor Term to make the backends more modular.
The main benefit is to move all encoding-related functions
to the Posix module.
NOTE: This patch breaks the build on Windows, for now.
System/Console/Haskeline/Backend/DumbTerm.hs | 20 ++------
System/Console/Haskeline/Backend/Posix.hsc | 30 ++++++++++--
System/Console/Haskeline/Backend/Terminfo.hs | 37 +++++++--------
System/Console/Haskeline/Command/Completion.hs | 2 +-
System/Console/Haskeline/Emacs.hs | 4 +-
System/Console/Haskeline/InputT.hs | 2 +-
System/Console/Haskeline/RunCommand.hs | 59 ++++++++++++------------
System/Console/Haskeline/Term.hs | 21 +++++---
System/Console/Haskeline/Vi.hs | 4 +-
9 files changed, 95 insertions(+), 84 deletions(-)
Diff suppressed because of size. To see it, use:
git show 68f93fa6205845234ba98c79fbf8ff58ee8705db
More information about the Cvs-libraries
mailing list