cdk_position(3)

NAME
cdk_position - curses widget positioning key-bindings

SYNOPSIS
Position methods for the Cdk widgets allow the user to move the widget around the screen via the cursor/keypad keys.

DESCRIPTION
The following key bindings can be used to move the widget around the screen.

Moves the widget down one row.
Moves the widget left one column
Moves the widget right one column
Moves the widget down one row and left one column.
Moves the widget down one row.
Moves the widget down one row and right one column.
Moves the widget left one column
Centers the widget both vertically and horizontally.
Moves the widget up one row and left one column.
Moves the widget up one row.
Moves the widget up one row and right one column.
Moves the widget to the top of the screen.
Moves the widget to the bottom of the screen.
Moves the widget to the left of the screen.
Moves the widget to the right of the screen.
Centers the widget between the left and right of the window.
Centers the widget between the top and bottom of the window.
Exits the function and leaves the widgetwhere it was.
]
.nr 3crow 0
KeyAction
.nr 3brule 1
]
.nr 3brule 0
.nr 3crow 1
Up Arrow
.nr 3brule 1
.nr 3crow 2
Down Arrow
.nr 3brule 1
.nr 3crow 3
Left Arrow
.nr 3brule 1
.nr 3crow 4
Right Arrow
.nr 3brule 1
.nr 3crow 5
1
.nr 3brule 1
.nr 3crow 6
2
.nr 3brule 1
.nr 3crow 7
3
.nr 3brule 1
.nr 3crow 8
4
.nr 3brule 1
.nr 3crow 9
5
.nr 3brule 1
.nr 3crow 10
6Moves the widget right one column
.nr 3brule 1
.nr 3crow 11
7
.nr 3brule 1
.nr 3crow 12
8
.nr 3brule 1
.nr 3crow 13
9
.nr 3brule 1
.nr 3crow 14
t
.nr 3brule 1
.nr 3crow 15
b
.nr 3brule 1
.nr 3crow 16
l
.nr 3brule 1
.nr 3crow 17
r
.nr 3brule 1
.nr 3crow 18
c
.nr 3brule 1
.nr 3crow 19
C
.nr 3brule 1
.nr 3crow 20
EscapeReturns the widget to its original position.
.nr 3brule 1
.nr 3crow 21
Return
.nr 3brule 1
]

The numbers 0-9 are chosen to correspond to the numeric keypad on your terminal. Cdk does not handle the application mode keypad control sequences, since those are not defined via terminfo. To use the numeric keypad you should ensure that it is in normal (or NumLock) mode.

SEE ALSO
cdk(3), cdk_binding(3), cdk_display(3), cdk_screen(3)