---
name: "Curses.keypad"
section: "3kaya"
platform: "linux"
package: "libkaya-ncurses-dev"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Curses.keypad"
---

# Curses.keypad(3kaya)

Enable or disable the keypad

## NAME

Curses::keypad - Enable or disable the keypad

## SYNOPSIS

**Void keypad(** *Window win, Bool bf* **)**

## ARGUMENTS

**win** The window to apply to

**bf** Whether to enable the keypad

## DESCRIPTION

Enable or disable the keypad. If the keypad is enabled, then curses will translate keypad keys to their character constants (e.g. **Curses.KeyA3 (3kaya)** ). Otherwise, the raw escape sequences will be returned. This function does nothing on Windows

## AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

## LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.
