ansi-terminal 0.2 → 0.2.1
raw patch · 3 files changed
+47/−2 lines, 3 filesdep ~base
Dependency ranges changed: base
Files
- ansi-terminal.cabal +4/−2
- includes/Common-Include.hs +24/−0
- includes/Exports-Include.hs +19/−0
ansi-terminal.cabal view
@@ -1,5 +1,5 @@ Name: ansi-terminal-Version: 0.2+Version: 0.2.1 Cabal-Version: >= 1.2 Category: User Interfaces Synopsis: Simple ANSI terminal support, with Windows compatibility@@ -11,6 +11,9 @@ Homepage: http://bsp.lighthouseapp.com/projects/16235-hs-ansi-terminal/overview Build-Type: Simple +Extra-Source-Files: includes/Common-Include.hs+ includes/Exports-Include.hs+ Flag SplitBase Description: Choose the new smaller, split-up base package Default: True@@ -18,7 +21,6 @@ Flag Example Description: Build the example application Default: False- Library Exposed-Modules: System.Console.ANSI
+ includes/Common-Include.hs view
@@ -0,0 +1,24 @@+cursorUp, cursorDown, cursorForward, cursorBackward :: Int -- ^ Number of lines or characters to move+ -> IO ()++nextLine, previousLine :: Int -- ^ Number of lines to move+ -> IO ()++setColumn :: Int -- ^ 0-based column to move to+ -> IO ()++setPosition :: Int -- ^ 0-based row to move to+ -> Int -- ^ 0-based column to move to+ -> IO ()++clearFromCursorToScreenEnd, clearFromCursorToScreenBeginning, clearScreen :: IO ()++clearFromCursorToLineEnd, clearFromCursorToLineBeginning, clearLine :: IO ()++-- | Scroll the displayed information up or down the terminal: not widely supported+scrollPageUp, scrollPageDown :: Int -- ^ Number of lines to scroll by+ -> IO ()++setSGR :: ANSISGR -> IO ()++hideCursor, showCursor :: IO ()
+ includes/Exports-Include.hs view
@@ -0,0 +1,19 @@+module System.Console.ANSI.Common,++cursorUp, cursorDown, cursorForward, cursorBackward,++nextLine, previousLine,++setColumn,++setPosition,++clearFromCursorToScreenEnd, clearFromCursorToScreenBeginning, clearScreen,++clearFromCursorToLineEnd, clearFromCursorToLineBeginning, clearLine,++scrollPageUp, scrollPageDown,++setSGR,++hideCursor, showCursor