make check bits yellow
This commit is contained in:
parent
621d80418e
commit
7c0a10672f
|
@ -30,7 +30,7 @@ import Brick.AttrMap (attrMap)
|
|||
import Brick.Main (App (..), showFirstCursor)
|
||||
import Brick.Util (fg, style)
|
||||
import Graphics.Vty.Attributes (Attr (..), MaybeDefault (..), bold)
|
||||
import Graphics.Vty.Attributes.Color (green, red)
|
||||
import Graphics.Vty.Attributes.Color (green, red, yellow)
|
||||
|
||||
import Hamming.App.Draw
|
||||
import Hamming.App.Events
|
||||
|
@ -45,7 +45,9 @@ mainApp = App
|
|||
, appStartEvent = return ()
|
||||
, appAttrMap = const $ attrMap (style 0)
|
||||
[ ( marginAttr, fg green )
|
||||
, ( checkAttr, style bold )
|
||||
, ( checkAttr
|
||||
, (style bold) { attrForeColor = SetTo yellow }
|
||||
)
|
||||
, ( zeroAttr, fg red )
|
||||
, ( validAttr
|
||||
, (style bold) { attrForeColor = SetTo green }
|
||||
|
|
Loading…
Reference in New Issue
Block a user