Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.65 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.65 KB

Logo

Fesher

Fesher on nuget.org Build Status code size license

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.

Usage

#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

Screenshot

License

MIT

Changelog

see CHANGELOG.md