Skip to content
/ Fesher Public

A library for colorful console output in the F# scripting editor Fesh

License

Notifications You must be signed in to change notification settings

goswinr/Fesher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A library for colorful console output in the F# scripting editor Fesh

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages