packages feed

ansi-terminal 0.5.4 → 0.5.5

raw patch · 2 files changed

+4/−4 lines, 2 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- System.Console.ANSI: clearFromCursorToLineBeginning :: IO ()
- System.Console.ANSI: clearFromCursorToLineBeginningCode :: String
- System.Console.ANSI: clearFromCursorToLineEnd :: IO ()
- System.Console.ANSI: clearFromCursorToLineEndCode :: String
- System.Console.ANSI: clearFromCursorToScreenBeginning :: IO ()
- System.Console.ANSI: clearFromCursorToScreenBeginningCode :: String
- System.Console.ANSI: clearFromCursorToScreenEnd :: IO ()
- System.Console.ANSI: clearFromCursorToScreenEndCode :: String
- System.Console.ANSI: clearLine :: IO ()
- System.Console.ANSI: clearLineCode :: String
- System.Console.ANSI: clearScreen :: IO ()
- System.Console.ANSI: clearScreenCode :: String
- System.Console.ANSI: cursorBackward :: Int -> IO ()
- System.Console.ANSI: cursorBackwardCode :: Int -> String
- System.Console.ANSI: cursorDown :: Int -> IO ()
- System.Console.ANSI: cursorDownCode :: Int -> String
- System.Console.ANSI: cursorDownLine :: Int -> IO ()
- System.Console.ANSI: cursorDownLineCode :: Int -> String
- System.Console.ANSI: cursorForward :: Int -> IO ()
- System.Console.ANSI: cursorForwardCode :: Int -> String
- System.Console.ANSI: cursorUp :: Int -> IO ()
- System.Console.ANSI: cursorUpCode :: Int -> String
- System.Console.ANSI: cursorUpLine :: Int -> IO ()
- System.Console.ANSI: cursorUpLineCode :: Int -> String
- System.Console.ANSI: hClearFromCursorToLineBeginning :: Handle -> IO ()
- System.Console.ANSI: hClearFromCursorToLineEnd :: Handle -> IO ()
- System.Console.ANSI: hClearFromCursorToScreenBeginning :: Handle -> IO ()
- System.Console.ANSI: hClearFromCursorToScreenEnd :: Handle -> IO ()
- System.Console.ANSI: hClearLine :: Handle -> IO ()
- System.Console.ANSI: hClearScreen :: Handle -> IO ()
- System.Console.ANSI: hCursorBackward :: Handle -> Int -> IO ()
- System.Console.ANSI: hCursorDown :: Handle -> Int -> IO ()
- System.Console.ANSI: hCursorDownLine :: Handle -> Int -> IO ()
- System.Console.ANSI: hCursorForward :: Handle -> Int -> IO ()
- System.Console.ANSI: hCursorUp :: Handle -> Int -> IO ()
- System.Console.ANSI: hCursorUpLine :: Handle -> Int -> IO ()
- System.Console.ANSI: hHideCursor :: Handle -> IO ()
- System.Console.ANSI: hScrollPageDown :: Handle -> Int -> IO ()
- System.Console.ANSI: hScrollPageUp :: Handle -> Int -> IO ()
- System.Console.ANSI: hShowCursor :: Handle -> IO ()
- System.Console.ANSI: hideCursor :: IO ()
- System.Console.ANSI: hideCursorCode :: String
- System.Console.ANSI: scrollPageDown :: Int -> IO ()
- System.Console.ANSI: scrollPageDownCode :: Int -> String
- System.Console.ANSI: scrollPageUp :: Int -> IO ()
- System.Console.ANSI: scrollPageUpCode :: Int -> String
- System.Console.ANSI: showCursor :: IO ()
- System.Console.ANSI: showCursorCode :: String
+ System.Console.ANSI: clearFromCursorToLineEnd, clearLine, clearFromCursorToLineBeginning :: IO ()
+ System.Console.ANSI: clearFromCursorToLineEndCode, clearLineCode, clearFromCursorToLineBeginningCode :: String
+ System.Console.ANSI: clearFromCursorToScreenEnd, clearScreen, clearFromCursorToScreenBeginning :: IO ()
+ System.Console.ANSI: clearFromCursorToScreenEndCode, clearScreenCode, clearFromCursorToScreenBeginningCode :: String
+ System.Console.ANSI: cursorDownLine, cursorUpLine :: Int -> IO ()
+ System.Console.ANSI: cursorDownLineCode, cursorUpLineCode :: Int -> String
+ System.Console.ANSI: cursorUp, cursorBackward, cursorForward, cursorDown :: Int -> IO ()
+ System.Console.ANSI: cursorUpCode, cursorBackwardCode, cursorForwardCode, cursorDownCode :: Int -> String
+ System.Console.ANSI: hClearFromCursorToLineEnd, hClearLine, hClearFromCursorToLineBeginning :: Handle -> IO ()
+ System.Console.ANSI: hClearFromCursorToScreenEnd, hClearScreen, hClearFromCursorToScreenBeginning :: Handle -> IO ()
+ System.Console.ANSI: hCursorDownLine, hCursorUpLine :: Handle -> Int -> IO ()
+ System.Console.ANSI: hCursorUp, hCursorBackward, hCursorForward, hCursorDown :: Handle -> Int -> IO ()
+ System.Console.ANSI: hHideCursor, hShowCursor :: Handle -> IO ()
+ System.Console.ANSI: hScrollPageUp, hScrollPageDown :: Handle -> Int -> IO ()
+ System.Console.ANSI: hideCursor, showCursor :: IO ()
+ System.Console.ANSI: hideCursorCode, showCursorCode :: String
+ System.Console.ANSI: scrollPageUp, scrollPageDown :: Int -> IO ()
+ System.Console.ANSI: scrollPageUpCode, scrollPageDownCode :: Int -> String

Files

System/Console/ANSI/Windows/Foreign.hs view
@@ -286,7 +286,7 @@     failIfFalse_ "scrollConsoleScreenBuffer" $ cScrollConsoleScreenBuffer handle ptr_scroll_rectangle ptr_clip_rectangle (unpackCOORD destination_origin) ptr_fill  --- This essential function comes from msvcrt.  It's OK to depend on msvcrt since GHC's base package does.+-- This essential function comes from the C runtime system. It is certainly provided by msvcrt, and also seems to be provided by the mingw C library - hurrah! foreign import ccall unsafe "_get_osfhandle" cget_osfhandle :: IOBase.FD -> IO HANDLE  -- | This bit is all highly dubious.  The problem is that we want to output ANSI to arbitrary Handles rather than forcing
ansi-terminal.cabal view
@@ -1,5 +1,5 @@ Name:                ansi-terminal-Version:             0.5.4+Version:             0.5.5 Cabal-Version:       >= 1.2 Category:            User Interfaces Synopsis:            Simple ANSI terminal support, with Windows compatibility@@ -34,7 +34,7 @@         if os(windows)                 Build-Depends:          Win32 >= 2.0                 Cpp-Options:            -DWINDOWS-                Extra-Libraries:        "kernel32", "msvcrt"+                Extra-Libraries:        "kernel32"                 Other-Modules:          System.Console.ANSI.Windows                                         System.Console.ANSI.Windows.Foreign                                         System.Console.ANSI.Windows.Emulator@@ -64,7 +64,7 @@         if os(windows)                 Build-Depends:          Win32 >= 2.0                 Cpp-Options:            -DWINDOWS-                Extra-Libraries:        "kernel32", "msvcrt"+                Extra-Libraries:        "kernel32"                 Other-Modules:          System.Console.ANSI.Windows                                         System.Console.ANSI.Windows.Foreign                                         System.Console.ANSI.Windows.Emulator