clear_selection(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 🌈


xoxo, your kernel bestie πŸ’Œ β€” source: ./drivers/tty, date: October 2026, page: clear_selection(9).

πŸ“¦ where this page comes from