HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleterminfo-0.4.1.7Haskell2010

System.Console.Terminfo.Keys

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

  • 14 values
  • Packageterminfo-0.4.1.7
  • Exports14
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceKeys.hs

The keypad

2 declarations

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.

Arrow keys

4 declarations

Miscellaneous

8 declarations

Look up the control sequence for a given function sequence. For example, functionKey 12 retrieves the kf12 capability.