[commit: terminfo] master: Fix the termColumns capacity. (64d1e62)
Ian Lynagh
igloo at earth.li
Tue Jan 3 20:31:43 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/terminfo
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/64d1e6201b490942636f5f3883cf5e81c2338fc8
>---------------------------------------------------------------
commit 64d1e6201b490942636f5f3883cf5e81c2338fc8
Author: Judah Jacobson <judah.jacobson at gmail.com>
Date: Fri Nov 11 17:20:37 2011 +0000
Fix the termColumns capacity.
>---------------------------------------------------------------
System/Console/Terminfo/Cursor.hs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/System/Console/Terminfo/Cursor.hs b/System/Console/Terminfo/Cursor.hs
index d2f642f..d7980ea 100644
--- a/System/Console/Terminfo/Cursor.hs
+++ b/System/Console/Terminfo/Cursor.hs
@@ -56,7 +56,7 @@ import Control.Monad
termLines :: Capability Int
termColumns :: Capability Int
termLines = tiGetNum "lines"
-termColumns = tiGetNum "columns"
+termColumns = tiGetNum "cols"
-- | This flag specifies that the cursor wraps automatically from the last
-- column of one line to the first column of the next.
More information about the Cvs-libraries
mailing list