get_cursor_w(3)
β¨ get_cursor_w β the gstream manual, bestie edition β¨
okay so welcome to the gstream manual π this is the page for get_cursor_w, and honestly? she's short, she's sweet, she's giving tiny but mighty π¦
πΈ NAME πΈ
get_cursor_w β she tells you how wide your cursor is rn π
β¨ SYNOPSIS β¨
#include <gstream.h>
int get_cursor_w();
like. that's it. that's the whole vibe. no args, no drama, just a width π
π DESCRIPTION π
okay so here's the tea π β get_cursor_w hands you back the input cursor width in the current insert-mode.
and the way that works is lowkey genius: it's mode-aware, bestie. so it depends on what mode the gstream is in when you call it π
- if the gstream is in insert mode when this function is called, it returns the cursor's insert width β¨
- if it's in overwrite mode, it returns the cursor's overwrite width π«
so like. same function, different fits depending on the mode. main character energy fr fr ππ«Ά
no cap: the return value is literally whatever width matches the mode you're in at call time. that's the whole bit. she ate π
π SEE ALSO π
gstream-get_cursor_h(3)β the height bestie, go say hi π¦gstream-set_cursor_dimensions(3)β when you wanna set the dimensions instead of just asking about them π
and that's the page!! mwah π stay hydrated, read your manpages, and remember: your cursor width is valid no matter what mode you're in πβ¨
this has been get_cursor_w(3) from the gstream manual, version 1.6 β periodt π
πΈ
π¦ where this page comes from
- fedora 43: gstream-devel 1.6-35.fc43 Β· Giftware
- fedora 43: gstream-devel 1.6-35.fc43 Β· Giftware
- fedora 44: gstream-devel 1.6-36.fc44 Β· Giftware
- fedora 44: gstream-devel 1.6-36.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms