| Copyright | (c) University of Glasgow 2006 |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | Esa Ilari Vuokko <[email protected]> |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | Trustworthy |
| Language | Haskell2010 |
A collection of FFI declarations for interfacing with Win32 Console API
getConsoleMode :: HANDLE -> IO DWORD Source
setConsoleMode :: HANDLE -> DWORD -> IO () Source
eNABLE_ECHO_INPUT :: DWORD Source
eNABLE_EXTENDED_FLAGS :: DWORD Source
eNABLE_INSERT_MODE :: DWORD Source
eNABLE_LINE_INPUT :: DWORD Source
eNABLE_MOUSE_INPUT :: DWORD Source
eNABLE_PROCESSED_INPUT :: DWORD Source
eNABLE_QUICK_EDIT_MODE :: DWORD Source
eNABLE_WINDOW_INPUT :: DWORD Source
eNABLE_VIRTUAL_TERMINAL_INPUT :: DWORD Source
eNABLE_PROCESSED_OUTPUT :: DWORD Source
eNABLE_WRAP_AT_EOL_OUTPUT :: DWORD Source
eNABLE_VIRTUAL_TERMINAL_PROCESSING :: DWORD Source
dISABLE_NEWLINE_AUTO_RETURN :: DWORD Source
eNABLE_LVB_GRID_WORLDWIDE :: DWORD Source
getConsoleCP :: IO UINT Source
setConsoleCP :: UINT -> IO () Source
getConsoleOutputCP :: IO UINT Source
setConsoleOutputCP :: UINT -> IO () Source
cTRL_C_EVENT :: CtrlEvent Source
cTRL_BREAK_EVENT :: CtrlEvent Source
generateConsoleCtrlEvent :: CtrlEvent -> DWORD -> IO () Source
commandLineToArgv :: String -> IO [String] Source
This function can be used to parse command line arguments and return the split up arguments as elements in a list.
getCommandLineW :: IO LPWSTR Source
Based on GetCommandLineW. This behaves slightly different than getArgs. See the online documentation: https://learn.microsoft.com/en-us/windows/win32/api/processenv/nf-processenv-getcommandlinew
data CONSOLE_SCREEN_BUFFER_INFO Source
| CONSOLE_SCREEN_BUFFER_INFO | |
Fields
| |
data CONSOLE_SCREEN_BUFFER_INFOEX Source
| CONSOLE_SCREEN_BUFFER_INFOEX | |
Fields
| |
data SMALL_RECT Source
| SMALL_RECT | |
| Storable SMALL_RECT Source | |
Defined in System.Win32.Console.Internal MethodssizeOf :: SMALL_RECT -> Int alignment :: SMALL_RECT -> Int peekElemOff :: Ptr SMALL_RECT -> Int -> IO SMALL_RECT pokeElemOff :: Ptr SMALL_RECT -> Int -> SMALL_RECT -> IO () peekByteOff :: Ptr b -> Int -> IO SMALL_RECT pokeByteOff :: Ptr b -> Int -> SMALL_RECT -> IO () peek :: Ptr SMALL_RECT -> IO SMALL_RECT poke :: Ptr SMALL_RECT -> SMALL_RECT -> IO () | |
| Show SMALL_RECT Source | |
Defined in System.Win32.Console.Internal MethodsshowsPrec :: Int -> SMALL_RECT -> ShowS show :: SMALL_RECT -> String showList :: [SMALL_RECT] -> ShowS | |
| Eq SMALL_RECT Source | |
Defined in System.Win32.Console.Internal | |
getConsoleScreenBufferInfo :: HANDLE -> IO CONSOLE_SCREEN_BUFFER_INFO Source
getCurrentConsoleScreenBufferInfo :: IO CONSOLE_SCREEN_BUFFER_INFO Source
getConsoleScreenBufferInfoEx :: HANDLE -> IO CONSOLE_SCREEN_BUFFER_INFOEX Source
getCurrentConsoleScreenBufferInfoEx :: IO CONSOLE_SCREEN_BUFFER_INFOEX Source
getEnv :: String -> IO (Maybe String) Source
getEnvironment :: IO [(String, String)] Source
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/9.12.1/docs/libraries/Win32-2.14.1.0-d391/System-Win32-Console.html