cdk_position(3)
π cdk_position β the glow-up guide to moving ur widgets around π
soooo this is a page from the Cdk library manual, section 3 (library calls), and bestie, it's literally all about positioning key-bindings. Cdk is a curses widget toolkit and this page tells you which keys nudge a widget around the screen. Slay. β¨
β¨ NAME β¨
cdk_position β Cdk widget positioning key-bindings π
πΈ SYNOPSIS πΈ
Position methods for the Cdk widgets let the user move the widget around the screen using the cursor/keypad keys. That's it, that's the whole vibe. π¦
π DESCRIPTION π
okay so here's the tea, bestie β these are the key bindings you can use to move a widget around the screen:
- Up Arrow β moves the widget up one row β¬οΈ
- Down Arrow β moves the widget down one row β¬οΈ
- Left Arrow β moves the widget left one column β¬ οΈ
- Right Arrow β moves the widget right one column β‘οΈ
1β moves the widget down one row and left one column2β moves the widget down one row3β moves the widget down one row and right one column4β moves the widget left one column5β centers the widget both vertically and horizontally (main character move fr fr π)6β moves the widget right one column7β moves the widget up one row and left one column8β moves the widget up one row9β moves the widget up one row and right one columntβ moves the widget to the top of the screenbβ moves the widget to the bottom of the screenlβ moves the widget to the left of the screenrβ moves the widget to the right of the screencβ centers the widget between the left and right of the windowCβ centers the widget between the top and bottom of the window- Escape β returns the widget to its original position (the undo button of vibes π)
- Return β exits the function and leaves the widget where it was
and now the lore drop about those digits: the numbers 0-9 are chosen to correspond to the numeric keypad on your terminal. Iconic, right? But here's the catch, bestie:
β οΈ Cdk does not handle the application mode keypad control sequences, because those are not defined via terminfo. So if you wanna use the numeric keypad, make sure it's in normal (or NumLock) mode. Do not skip this step, I'm begging you. π
π¦ SEE ALSO π¦
k that's the whole page, periodt. π this was the cdk_position(3) man page from the Cdk library, dated 2024-03-28 β go forth and position ur widgets, bestie, you're literally gonna ate. πβ¨π«Ά
π¦ where this page comes from
- debian trixie: libcdk5-dev 5.0.20250116-1 Β· BSD-4-Clause
- fedora 43: cdk 5.0.20240619-4.fc43 Β· LicenseRef-Callaway-BSD-with-advertising
- fedora 43: cdk 5.0.20240619-4.fc43 Β· LicenseRef-Callaway-BSD-with-advertising
- fedora 43: cdk 5.0.20251014-1.fc43 Β· X11-distribute-modifications-variant
- fedora 43: cdk 5.0.20251014-1.fc43 Β· X11-distribute-modifications-variant
- fedora 44: cdk 5.0.20251014-3.fc44 Β· X11-distribute-modifications-variant
- fedora 44: cdk 5.0.20251014-3.fc44 Β· X11-distribute-modifications-variant
- nixos 26.05: cdk 5.0-20260119
- nixpkgs unstable: cdk 5.0-20260119
- ubuntu questing: libcdk5-dev 5.0.20250116-1
- ubuntu resolute: libcdk5-dev 5.0.20251014-1 Β· BSD-4-Clause
- ubuntu stonking: libcdk5-dev 5.0.20260119-1 Β· BSD-4-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms