Win32-2.12.0.1: A binding to Windows Win32 API.

Copyright(c) University of Glasgow 2006
LicenseBSD-style (see the file LICENSE)
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

System.Win32.Console

Contents

Description

A collection of FFI declarations for interfacing with Win32 Console API

Synopsis

Console mode

Console code pages

Ctrl events

Command line

commandLineToArgv :: String -> IO [String] Source #

This function can be used to parse commandline arguments and return the split up arguments as elements in a list.

Screen buffer

data COORD Source #

Constructors

COORD 

Fields

Instances
Eq COORD Source # 
Instance details

Defined in System.Win32.Console

Methods

(==) :: COORD -> COORD -> Bool #

(/=) :: COORD -> COORD -> Bool #

Show COORD Source # 
Instance details

Defined in System.Win32.Console

Methods

showsPrec :: Int -> COORD -> ShowS #

show :: COORD -> String #

showList :: [COORD] -> ShowS #

Storable COORD Source # 
Instance details

Defined in System.Win32.Console

Methods

sizeOf :: COORD -> Int #

alignment :: COORD -> Int #

peekElemOff :: Ptr COORD -> Int -> IO COORD #

pokeElemOff :: Ptr COORD -> Int -> COORD -> IO () #

peekByteOff :: Ptr b -> Int -> IO COORD #

pokeByteOff :: Ptr b -> Int -> COORD -> IO () #

peek :: Ptr COORD -> IO COORD #

poke :: Ptr COORD -> COORD -> IO () #