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 <[email protected]>
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.



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to