W3cubDocs

/Haskell 8

System.Win32.Console

Copyright (c) University of Glasgow 2006
License BSD-style (see the file LICENSE)
Maintainer Esa Ilari Vuokko <ei@vuokko.info>
Stability provisional
Portability portable
Safe Haskell Safe
Language Haskell98

Description

A collection of FFI declarations for interfacing with Win32 Console API

Console code pages

getConsoleCP :: IO UINT Source

setConsoleCP :: UINT -> IO () Source

getConsoleOutputCP :: IO UINT Source

setConsoleOutputCP :: UINT -> IO () Source

Ctrl events

type CtrlEvent = DWORD Source

cTRL_C_EVENT :: CtrlEvent Source

cTRL_BREAK_EVENT :: CtrlEvent Source

generateConsoleCtrlEvent :: CtrlEvent -> DWORD -> IO () Source

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.0.1/docs/html/libraries/Win32-2.3.1.1/System-Win32-Console.html