?? keypad.3cur
字號:
.TH keypad 3cur .SH Namekeypad \- enable keypad.SH Syntax.br.B#include <cursesX.h>.PP.Bint keypad(win, bf).br.BWINDOW \(**win;.br.Bbool bf;.SH Description.NXR "keypad subroutine"This option enables the keypad of the user's terminal.If the keypad is enabled, pressing a function key (such as an arrow key)will return a single value representing the function key.For example, pressing the left arrow key results in thevalue KEY_LEFT being returned..For more information see the.IGuide to X/Open Curses Screen-Handling..R.PPThe routine .PN getch is used to return the character.If the keypadis disabled,.PN cursesdoes not treat function keys as special keys and the programinterprets the escape sequences itself.Keypad layout is terminal dependent;some terminals do not even have a keypad..SH Return ValuesThe.PN keypadfunction returns OK on success and ERR on error..SH See Alsogetch(3cur).br.I Guide to X/Open Curses Screen-Handling
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -