foreground

Sets console foreground color

Flushes stdout.

  1. Color foreground()
  2. void foreground(Color color)
    version(Windows)
    @property
    void
    foreground
  3. void foreground(Color color)
  4. Color foreground()

Parameters

color Color

Foreground color to set

Meta