From c924491289259fa8a5a259ed97f2d9e817e3338c Mon Sep 17 00:00:00 2001 From: hallgren Date: Thu, 16 Oct 2014 14:03:57 +0000 Subject: More haddock documentation improvements --- src/compiler/GF/System/Console.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/compiler/GF/System') diff --git a/src/compiler/GF/System/Console.hs b/src/compiler/GF/System/Console.hs index ea901d55d..975b229f1 100644 --- a/src/compiler/GF/System/Console.hs +++ b/src/compiler/GF/System/Console.hs @@ -1,11 +1,14 @@ {-# LANGUAGE CPP #-} -module GF.System.Console(setConsoleEncoding,changeConsoleEncoding) where +module GF.System.Console( + -- ** Changing which character encoding to use for console IO + setConsoleEncoding,changeConsoleEncoding) where import System.IO #ifdef mingw32_HOST_OS import System.Win32.Console import System.Win32.NLS #endif +-- | Set the console encoding (for Windows, has no effect on Unix-like systems) setConsoleEncoding = #ifdef mingw32_HOST_OS do codepage <- getACP -- cgit v1.2.3