d.erase(1grass)

🧼 d.erase β€” the display frame eraser, bestie edition πŸ’…

okay so d.erase lives in the GRASS User's Manual (that's d.erase(1grass) if you're being formal at a family dinner). It erases the contents of the active graphics display frame, and it does it with a user defined color. Iconic behavior, honestly.

✨ KEYWORDS ✨

display, graphics, monitors β€” that's the whole vibe check.


🌸 SYNOPSIS 🌸

d.erase
d.erase --help
d.erase [-f]  [bgcolor=name]   [--help]  [--verbose]  [--quiet]  [--ui]

πŸŽ€ FLAGS πŸŽ€

  • -f β€” bestie this one goes FULL wipe: it removes all frames and erases the screen. Not just a little tidy-up, a whole clean slate.
  • --help β€” prints the usage summary so you're not out here guessing 🫢
  • --verbose β€” verbose module output, i.e. it tells you what it's up to in detail.
  • --quiet β€” quiet module output, i.e. it shuts up and just does the thing.
  • --ui β€” forces a GUI dialog to launch. mouse girlies rise.

πŸ¦‹ PARAMETERS πŸ¦‹

  • bgcolor=name β€” the background color. You can drop in either a standard color name or an R:G:B triplet, your call. Default is white.

πŸ’– DESCRIPTION πŸ’–

So d.erase erases the contents of the active graphics frame, and replaces it with the color black (by default) or by whatever color the user specifies.

ngl the page says the default is black in the description and white under the parameter πŸ‘€ I'm just the messenger, I report what the manual says, periodt.

🌈 SEE ALSO 🌈

  • d.mon
  • d.redraw
  • d.rast
  • d.vect

the whole display-fam, go say hi πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

James Westervelt, U.S. Army Construction Engineering Research Laboratory. legend behavior, no cap.


⭐ SOURCE CODE ⭐

Available at: d.erase source code (history)

Latest change: Friday Feb 07 19:16:09 2025 in commit: a82a39f673b97fafcfce1604dc3e6015cb96487a

  • Main index
  • Display index
  • Topics index
  • Keywords index
  • Graphical index
  • Full index

and that's the whole page bestie 🫢 this was GRASS 8.5.0 of the Reference Manual, Β© 2003-2026 GRASS Development Team β€” yes the copyright really does say 2026, we're ahead of schedule and thriving πŸ’–. go erase something (responsibly). d.erase out. πŸŽ€βœ¨

πŸ“¦ where this page comes from