Attach terminal to analyser (these should rather be combined)
This commit is contained in:
+2
-3
@@ -326,15 +326,14 @@ data Button = Button
|
||||
, _btTerminalParams :: TerminalParams
|
||||
}
|
||||
data TerminalParams = NoTerminalParams | TerminalParams
|
||||
{ _termDisplayedLines :: [(String,Color)]
|
||||
{ _termDisplayedLines :: [World -> (String,Color)]
|
||||
, _termFutureLines :: [TerminalLine]
|
||||
, _termMaxLines :: Int
|
||||
}
|
||||
data TerminalLine
|
||||
= TerminalLineDisplay
|
||||
{_tlPause :: Int
|
||||
,_tlString :: String
|
||||
,_tlColor :: Color
|
||||
,_tlString :: World -> (String, Color)
|
||||
}
|
||||
| TerminalLineEffect
|
||||
{_tlPause :: Int
|
||||
|
||||
Reference in New Issue
Block a user