shrun-0.9: A utility program for running shell commands concurrently.
Safe HaskellNone
LanguageGHC2021

Shrun.Configuration.Data.StripControl

Synopsis

Documentation

data StripControl (t :: StripControlType) Source #

Determines how we should treat control characters encountered in logs.

Constructors

StripControlSmart

"Intelligently" strip control characters e.g. colors are fine, ones that affect the cursor should be removed.

StripControlNone

Do not strip any control characters.

StripControlAll

Strip all control characters.

Instances

Instances details
Default ConsoleLogStripControl Source # 
Instance details

Defined in Shrun.Configuration.Data.StripControl

Default FileLogStripControl Source # 
Instance details

Defined in Shrun.Configuration.Data.StripControl

Bounded (StripControl t) Source # 
Instance details

Defined in Shrun.Configuration.Data.StripControl

Enum (StripControl t) Source # 
Instance details

Defined in Shrun.Configuration.Data.StripControl

Show (StripControl t) Source # 
Instance details

Defined in Shrun.Configuration.Data.StripControl

Eq (StripControl t) Source # 
Instance details

Defined in Shrun.Configuration.Data.StripControl

Ord (StripControl t) Source # 
Instance details

Defined in Shrun.Configuration.Data.StripControl

DecodeTOML (StripControl t) Source # 
Instance details

Defined in Shrun.Configuration.Data.StripControl

parseStripControl :: forall m (t :: StripControlType). MonadFail m => m Text -> m (StripControl t) Source #

type ConsoleLogStripControl = StripControl 'StripControlConsoleLog Source #

type FileLogStripControl = StripControl 'StripControlFileLog Source #