Fesher is a library for colorful console output in the F# scripting editor Fesh
It has two modules Printfn
and Printf
providing functions named by a color.
Those functions work just like the printfn
and printf
.
They will detect via reflection if they are running inside Fesh and print in the respective colors.
If used outside of Fesh it will just fall back to printfn
and printf
.
The module Fesher.AllColors
provides all 280 named WPF colors as functions.
The function 'clearFeshLog()' will clear the Fesh log window.
#r "nuget: Fescher"
open Fesher // for the 18 most common colors, clearFeshLog and setClipboard
//open Fesher.AllColors // for all 280 named WPF colors
clearFeshLog() //optionally clear log window
Printfn.red "The red answer is %s!" 42
see CHANGELOG.md