clear_selection(9)
π clear_selection(9) π
okay so hii bestie, welcome to the Kernel API Manual β this page is literally all about clear_selection, and it's giving tiny function, very specific job. π
β¨ NAME β¨
clear_selection β remove current selection
π SYNOPSIS π
void clear_selection (void );
π¦ ARGUMENTS π¦
voidβ no arguments. Like, none. You pass nothing, bestie. π«Ά
πΈ DESCRIPTION πΈ
Remove the current selection highlight, if any, from the console holding the selection. Thatβs the whole vibe: if thereβs a selection highlight chillinβ on a console, this is the function that removes it. β¨
π Locking: the caller must hold the console lock. No cap, this is the rule β hold the console lock. π
π SEE ALSO π
- Kernel file:
./drivers/tty/vt/selection.c sel_loadlut(9)set_selection_user(9)
xoxo, your kernel bestie π β source: ./drivers/tty, date: October 2026, page: clear_selection(9).
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms