FUNCTION::ANSI_CLEAR_SCREEN(3stap)

πŸ’– NAME πŸ’–

function::ansi_clear_screen β€” bestie, this one moves the cursor to the top left and then clears the whole screen. it's giving fresh-start energy fr fr 🌸

so this lives in the SystemTap Tapset Reference pages, manual section 3stap, iykyk ✨


✨ SYNOPSIS ✨

ansi_clear_screen()

like… that's it. no args, no drama, just vibes πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

None. not a single one. she takes nothing and gives you a clean slate 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: ansi_clear_screen() sends the ansi code that moves the cursor to the top left of the screen, and then it sends the ansi code that clears the screen β€” specifically from wherever the cursor is sitting, all the way to the end. 🧹✨

so like, cursor goes home first, then everything from there onward gets wiped. iconic behaviour honestly. main character energy. πŸ‘‘


🌈 SEE ALSO 🌈

  • tapset::ansi(3stap) β€” go read the whole ansi tapset fam, there's more where this came from πŸ’œ

and that's a wrap, bestie!! this lil page is from the SystemTap Tapset Reference, version dated September 2026. go clear a screen and slay πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from