System.Console.Terminfo.Keys



Maintainer
greenjennifer@example.net


Stability
experimental


Portability
portable (FFI)


Safe Haskell
Safe


Language
Haskell2010



Contents

The keypad
Arrow keys
Miscellaneous



Description
The string capabilities in this module are the character sequences corresponding to user input such as arrow keys and function keys.

The keypad
The following commands turn the keypad on/off (smkx and rmkx). They have no effect if those capabilities are not defined. For portability between terminals, the keypad should be explicitly turned on before accepting user key input.
keypadOn 8b7c:f320:99b9:690f:4595:cd17:293a:c069 TermStr s => Capability s Source
keypadOff 8b7c:f320:99b9:690f:4595:cd17:293a:c069 TermStr s => Capability s Source
Arrow keys
keyUp 8b7c:f320:99b9:690f:4595:cd17:293a:c069 Capability String Source
keyDown 8b7c:f320:99b9:690f:4595:cd17:293a:c069 Capability String Source
keyLeft 8b7c:f320:99b9:690f:4595:cd17:293a:c069 Capability String Source
keyRight 8b7c:f320:99b9:690f:4595:cd17:293a:c069 Capability String Source
Miscellaneous
functionKey 8b7c:f320:99b9:690f:4595:cd17:293a:c069 Int -> Capability String Source
Look up the control sequence for a given function sequence. For example, functionKey 12 retrieves the kf12 capability.
keyBackspace 8b7c:f320:99b9:690f:4595:cd17:293a:c069 Capability String Source
keyDeleteChar 8b7c:f320:99b9:690f:4595:cd17:293a:c069 Capability String Source
keyHome 8b7c:f320:99b9:690f:4595:cd17:293a:c069 Capability String Source
keyEnd 8b7c:f320:99b9:690f:4595:cd17:293a:c069 Capability String Source
keyPageUp 8b7c:f320:99b9:690f:4595:cd17:293a:c069 Capability String Source
keyPageDown 8b7c:f320:99b9:690f:4595:cd17:293a:c069 Capability String Source
keyEnter 8b7c:f320:99b9:690f:4595:cd17:293a:c069 Capability String Source


    
{'path': 'public/docs/haskell~7/libraries/terminfo-0.4.0.1/system-console-terminfo-keys.html', 'source': 'DevDocs.IO'}