Move towards simplifying terminal lines/effects

This commit is contained in:
2025-08-15 11:55:56 +01:00
parent 91d19e7c42
commit 56f4670493
12 changed files with 175 additions and 145 deletions
+2
View File
@@ -2,6 +2,7 @@ module Dodge.Terminal.Color (
termScreenColor,
) where
import Dodge.Data.Terminal.Status
import Dodge.Data.Terminal
import Color
import Control.Lens
@@ -10,4 +11,5 @@ termScreenColor :: Terminal -> Maybe Color
termScreenColor tm = case tm ^. tmStatus of
TerminalOff -> Nothing
TerminalTextInput _ -> Just green
TerminalPressTo{} -> Just green
TerminalBusy -> Just white