1Changes 2======= 3 4Version 0.10.3 5-------------- 6* Add `getCursorPosition` as a synonym of `getCursorPosition0` and deprecate the 7 latter. 8 9Version 0.10.2 10-------------- 11 12* `hGetTerminalSize` now assumes a terminal is no bigger than 9,999 by 9,999 13 (previously, no bigger than 999 by 999). 14* On Windows, fix a bug where emulated cursor movement functions differed from 15 Windows 10 (movement bounded by the current viewport). 16 17Version 0.10.1 18-------------- 19 20* Add `hGetCursorPosition` and `hGetTerminalSize`. 21* On Unix-like operating systems, fix a bug where `getReportedCursorPosition` 22 could block indefinitely if no information was forthcoming on the console 23 input stream. 24* Improvements to Haddock documentation. 25 26Version 0.10 27------------ 28 29* Add support for setting the default color with new `SetDefaultColor` 30 constructor of the `SGR` type. 31* `getTerminalSize` now flushes the `stdout` channel, to ensure the cursor 32 position is unaffected. 33 34Version 0.9.1 35------------- 36 37* Flag modules with GHC's 'Safe Haskell' language extensions (from GHC 7.2.1). 38* Improvements and corrections to Haddock documentation. 39 40Version 0.9 41----------- 42 43* Add support for 256-color palettes with new `SetPaletteColor` constructor of 44 the `SGR` type, and `xterm6LevelRGB`, `xterm24LevelGray` and `xtermSystem`. 45* Remove deprecated `getCursorPosition`. (Use `getCursorPosition0` instead.) 46* Add `hSupportsANSIColor`. 47* Add `getTerminalSize`. 48* Improvements to Haddock documentation. 49 50Version 0.8.2 51------------- 52 53* Add `getCursorPosition0` and deprecate `getCursorPosition`. Any position 54 provided by the latter is 1-based. Any position provided by the former is 55 0-based, consistent with `setCursorColumn` and `setCursorPosition`. 56* Improvements to Haddock documentation in respect of 0-based and 1-based 57 cursor positions. 58 59Version 0.8.1 60------------- 61 62* Add `hSupportsANSIWithoutEmulation`. On Windows 10, if the handle is identifed 63 as connected to a native terminal ('Command Prompt' or 'PowerShell'), the 64 processing of 'ANSI' control characters will be enabled. 65 66Version 0.8.0.4 67--------------- 68 69* On Windows, `hSupportsANSI` now recognises if the handle is connected to a 70 'mintty' terminal. 71* Drop support for GHC versions before GHC 7.0.1 (released November 2010) 72 73Version 0.8.0.3 74--------------- 75 76* On Windows, try to enable ANSI on ConHost terminals even if a TERM environment 77 variable exits (such as with the Hyper 2 terminal) 78* Minor improvements to Haddock documentation 79 80Version 0.8.0.2 81--------------- 82 83* Improve README and Haddock documentation 84* On Windows, fix compatability with earlier GHC versions 85* Drop support for GHC versions before 6.12.1 (released December 2009) 86 87Version 0.8.0.1 88--------------- 89 90* On Windows, if the standard output channel is valid but not a ConHost 91 terminal, assume it is ANSI-enabled rather than failing 92* On Windows, output the improved error message to the standard error channel 93 rather than the standard output channel 94 95Version 0.8 96----------- 97 98* Make the fields of `SGR` strict 99* Make compatible with GHC 8.2.2 100* Improve the error message on Windows when not ANSI-capable or ConHost 101* Recognise Appveyor build environment as ANSI-enabled 102 103Version 0.7.1.1 104--------------- 105 106`getReportedCursorPosition`: don't let the cursor reporting code be echo'd 107 108Version 0.7.1 109------------- 110 111* Allow saving, restoring, and querying the current cursor position 112* Fix a couple of issues with the Reset emulation on Windows 113 114Version 0.7 115----------- 116 117Add 24-bit RGB color support 118 119Version 0.6.3.1 120--------------- 121 122Fix Windows + ghc 7.8 compatibility 123 124Version 0.6.3 125------------- 126 127* Add ANSI support for Windows 128* Add compatibility with Win32-2.5.0.0 and above 129 130Version 0.6.2.3 131--------------- 132 133Add an example to the haddocks 134 135Version 0.6.2.2 136--------------- 137 138Fix a GHC 7.10 warning 139 140Version 0.6.2.1 141--------------- 142 143Restore compatibility with GHC 7.4 and older 144 145Version 0.6.2 146------------- 147 148* Add `hSupportsANSI` 149* Drop support for `base < 4` 150 151Version 0.6.1.1 152--------------- 153 154Fix to build with GHC 7.8 on Windows 155 156Version 0.6.1 157------------- 158 159* `BoldIntensity` no longer changes background color on Windows 160* `setSGR []` was not equivalent to `setSGR [Reset]` on Windows, even though it 161 should be according to the documentation. This is now fixed. 162