foreground

Sets console foreground color

Flushes stdout.

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

Parameters

color
Type: Color

Foreground color to set

Meta