get_insert_mode(3)
π get_insert_mode π
okay bestie so this is a lil page from the gstream manual, section 3, and it's all about the function called get_insert_mode π she's small, she's simple, she's literally just a yes-or-no girlie, and honestly? we stan a low-maintenance icon π
β¨ SYNOPSIS β¨
#include <gstream.h>
bool get_insert_mode();
no arguments, no drama, just vibes π¦
πΈ DESCRIPTION πΈ
So basically she returns a bool, and that bool is doing a vibe check on your inputter's current mode, fr fr.
trueβ this is the insert era β¨. When you press a key, the inputter inserts the character. She makes room, she slides in, main character energy, no cap πfalseβ this is the overwrite era π. When you press a key, the inputter straight up overwrites the next character with the new character. not her bulldozing the next char in line π it's giving ruthless, but okay.
that's it. that's the whole function. she tells you which of those two situations you're in, periodt π
lowkey the most important thing: she only reports the mode, she does not change it. if you wanna flip it, that's a whole other function's job (see below, bestie π)
π₯ SEE ALSO π₯
gstream-set_insert_mode(3)β the one who actually sets the mode, so you can go from overwrite to insert and back whenever the mood strikes π§β¨
and that's the tea, bestie π this was get_insert_mode(3) from the gstream manual, living in gstream version 1.6. go forth, insert responsibly, and don't let anyone overwrite your sparkle ππ«Άπ
π¦ 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