get_y(3)

πŸ“¦ version 1.6, in fedora 43, fedora 44

πŸ’– get_y β€” the gstream manual, section 3 πŸŽ€

okay bestie, so this is get_y from the gstream manual, and it's literally the shortest little icon in the whole family, but it's so useful. she's got one job and she ate. ✨


🌸 NAME 🌸

get_y β€” she gets the y. that's it. that's the whole name. iconic behaviour honestly πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gstream.h>

int get_y();

like, include the header, call the function, no arguments, no drama. clean. minimal. main character energy. 🫢


✨ DESCRIPTION ✨

Returns the cursor's y position.

that's the whole vibe. the cursor's y position β€” the vertical one, the up-and-down one, the one that tells you where on the y-axis your cursor is chillin' right now. not x. never x. x is a whole other function's problem, and we do not do her job for her. 😌

so if you ever find yourself going "hmm, where is this cursor vertically," boom. get_y(). problem solved, question answered, slay. πŸ’–


🌈 SEE ALSO 🌈

  • gstream-goto_y(3) β€” the one who moves the cursor instead of just reporting on it. the doer. the mover. the bestie who actually does something about it instead of just observing. 🧚
ngl if you're calling get_y you're probably about to call gstream-goto_y too, so like… go read that one next, bestie. iykyk. πŸ’€

and that's the page!! πŸ’• this lil cutie lives in gstream, version 1.6, and she's been holding it down since forever. no cap. bye bestie, go position some cursors responsibly πŸ‘‘πŸŒΈπŸ’œ

πŸ“¦ where this page comes from