get_insert_mode(3)

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

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