cd_console(3)

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

πŸŽ€ NAME πŸŽ€

okay so this whole page is about cd_console β€” that's the name, bestie, no extra subtitle. it lives in the gstream manual, section 3, and it's giving library-function realness. periodt.


✨ SYNOPSIS ✨

here's how you summon it:

#include <gstream.h>

void cd_console(BITMAP *bmp, int x, int y, int w, int h, int clr, bool ins);

πŸ’… DESCRIPTION πŸ’…

so what does cd_console actually do? it draws a normal console cursor, no cap. the insert cursor is like an _ (underscore core), and the overwrite cursor covers the letter. literally that simple.

the preferred dimensions β€” and bestie, you have to set them manually, they will not set themselves β€” are:

(gbuf::DYNAMIC_CURSOR_SIZE, gbuf::DYNAMIC_CURSOR_SIZE, gbuf::DYNAMIC_CURSOR_SIZE, gbuf::DYNAMIC_CURSOR_SIZE)

but the second argument can be set manually to control where the _ will be placed. low values and the cursor will fly above the letters (highkey dramatic), high values and the cursor will float at the bottom. so you can tune that vibe. 🌈


πŸ‘‘ SEE ALSO πŸ‘‘


okay that's the whole page. this was gstream, version 1.6 β€” cd_console(3). stay slaying, bestie πŸ’–πŸ«Άβœ¨

πŸ“¦ where this page comes from