aa_puts(3)
π aa_puts(3) π
Library Functions Manual energy, bestie β welcome to the page that teaches you how to slap a whole string onto your AA-lib screen. β¨
πΈ NAME πΈ
aa_puts β output string to AA-lib output buffers.
π SYNOPSIS π
#include <aalib.h>
void aa_puts
(
aa_context *c,
int x,
int y,
enum aa_attribute attr,
const char *s
);
π¦ PARAMETERS π¦
aa_context *cβ the AA-lib context you're operating on. Your lil' world. Pass the one you wanna draw into, bestie.int xβ X coordinate of the first character. Yes, the first one β the rest follow along after it.int yβ Y coordinate of the first character. Same deal, but vertical. πenum aa_attribute attrβ the attribute to use. This is the vibe check for your text, and here's the whole menu of possible values for anenum aa_attribute:AA_NORMALβ normal characters. The default-ish look, nothing extra.AA_DIMβ dark characters. Lowkey moody. πAA_BOLDβ bright characters. Highkey glowing, main character energy. β¨AA_BOLDFONTβ characters rendered in bold font. That's the font being bold, not the brightness, okay? Different thing, don't @ me.AA_REVERSEβ reversed (black on white) characters. Flip it, reverse it. πAA_SPECIALβ render characters in a way easilly visible on the screen. The exact rendering is driver dependent, but you ought to use this mode to output texts you want to make easilly visible in the image. It's giving "please notice me" and honestly? Same.
const char *sβ the string to output. The actual words, the whole point of the function, the moment. π
π DESCRIPTION π
Output given string to AA-lib output buffers. That's it, that's the function β it writes s starting at (x, y) in the context c using attribute attr.
β οΈ But bestie, listen: to see the effect you need to callaa_flushtoo. Noaa_flush, no visual. It's writing to the buffers, not the screen, so the screen is gonna stay unbothered until you flush. Don't forget, fr fr. π
π SEE ALSO π
The whole friend group, in order, no one left out: save_d(3), mem_d(3), aa_help(3), aa_formats(3), aa_fonts(3), aa_dithernames(3), aa_drivers(3), aa_kbddrivers(3), aa_mousedrivers(3), aa_kbdrecommended(3), aa_mouserecommended(3), aa_displayrecommended(3), aa_defparams(3), aa_defrenderparams(3), aa_scrwidth(3), aa_scrheight(3), aa_mmwidth(3), aa_mmheight(3), aa_imgwidth(3), aa_imgheight(3), aa_image(3), aa_text(3), aa_attrs(3), aa_currentfont(3), aa_autoinit(3), aa_autoinitkbd(3), aa_autoinitmouse(3), aa_recommendhi(3), aa_recommendlow(3), aa_init(3), aa_initkbd(3), aa_initmouse(3), aa_close(3), aa_uninitkbd(3), aa_uninitmouse(3), aa_fastrender(3), aa_render(3), aa_printf(3), aa_gotoxy(3), aa_hidecursor(3), aa_showcursor(3), aa_getmouse(3), aa_hidemouse(3), aa_showmouse(3), aa_registerfont(3), aa_setsupported(3), aa_setfont(3), aa_getevent(3), aa_getkey(3), aa_resize(3), aa_resizehandler(3), aa_parseoptions(3), aa_edit(3), aa_createedit(3), aa_editkey(3), aa_putpixel(3), aa_recommendhikbd(3), aa_recommendlowkbd(3), aa_recommendhimouse(3), aa_recommendlowmouse(3), aa_recommendhidisplay(3), aa_recommendlowdisplay(3).
okay and one last thing, the receipts π§Ύ β this page was generated by c2man from aalib.h, dated 8 September 1999. iconic vintage behavior, no cap. stan a 1999 manpage. π
π¦ where this page comes from
- arch rolling: aalib 1.4rc5-19 Β· LGPL-2.0-or-later
- debian bookworm: libaa1-dev 1.4p5-50
- debian trixie: libaa1-dev 1.4p5-51.1+b1
- epel 10: aalib-devel 1.4.0-0.52.rc5.el10_0 Β· LGPL-2.1-or-later
- epel 9: aalib-devel 1.4.0-0.42.rc5.el9 Β· LGPLv2+
- fedora 43: aalib-devel 1.4.0-0.56.rc5.fc43 Β· LGPL-2.1-or-later
- fedora 43: aalib-devel 1.4.0-0.56.rc5.fc43 Β· LGPL-2.1-or-later
- fedora 44: aalib-devel 1.4.0-0.58.rc5.fc44 Β· LGPL-2.1-or-later
- fedora 44: aalib-devel 1.4.0-0.58.rc5.fc44 Β· LGPL-2.1-or-later
- nixpkgs unstable: aalib 1.4rc5
- opensuse-leap 16.0: aalib-devel 1.4.0-bp160.1.14 Β· GPL-2.0-or-later
- opensuse-leap 16.0: aalib-devel 1.4.0-bp160.1.14 Β· GPL-2.0-or-later
- opensuse-leap 16.0: aalib-devel 1.4.0-bp160.1.14 Β· GPL-2.0-or-later
- opensuse-leap 16.0: aalib-devel 1.4.0-bp160.1.14 Β· GPL-2.0-or-later
- ubuntu jammy: libaa1-dev 1.4p5-50build1
- ubuntu noble: libaa1-dev 1.4p5-51.1
- ubuntu questing: libaa1-dev 1.4p5-51.1
- ubuntu resolute: libaa1-dev 1.4p5-51.1build1
- ubuntu stonking: libaa1-dev 1.4p5-51.1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms