menu_cursor(3X)
π menu_cursor(3X) β pos_menu_cursor is that girl π
okay so bestie, welcome to the menu_cursor(3X) page β Library calls section, iykyk. The star of the show is pos_menu_cursor, and she has one job: position a menu's cursor. π
πΈ NAME πΈ
pos_menu_cursor β position a menu's cursor
β¨ SYNOPSIS β¨
#include <menu.h>
int pos_menu_cursor(const MENU *menu);
π¦ DESCRIPTION π¦
The function pos_menu_cursor restores the cursor to the current position associated with the menu's selected item. It's giving "put my cursor back where it belongs" energy, and it's useful after curses routines have been called to do screen-painting in response to a menu select. Lowkey the perfect little reset moment. β¨
π RETURN VALUE π
This routine returns one of the following:
E_OKβ the routine succeeded. periodt.E_SYSTEM_ERRORβ System error occurred (seeerrno(3)). πE_BAD_ARGUMENTβ Routine detected an incorrect or out-of-range argument. not cute.E_NOT_POSTEDβ The menu has not been posted.
π«Ά PORTABILITY π«Ά
These routines emulate the System V menu library. They were not supported on Version 7 or BSD versions. so that's the tea π΅
π AUTHORS π
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. legends only π«Ά
π SEE ALSO π
curses(3X)menu(3X)
mwah π β source/version: ncurses 6.5, date: 2024-03-16, filed under menu_cursor(3X). π«Άβ¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright 2018-2023,2024 Thomas E. Dickey
- Copyright 1998-2010,2015 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms