Attach terminal to analyser (these should rather be combined)
This commit is contained in:
@@ -136,9 +136,9 @@ updateTerminalLine w = case w ^? hud . hudElement . subInventory . termParams .
|
||||
Nothing -> w
|
||||
Just tl | _tlPause tl > 0 -> w
|
||||
& hud . hudElement . subInventory . termParams . termFutureLines . ix 0 . tlPause -~ 1
|
||||
Just (TerminalLineDisplay _ s c) -> w
|
||||
Just (TerminalLineDisplay _ f) -> w
|
||||
& hud . hudElement . subInventory . termParams . termFutureLines %~ tail
|
||||
& hud . hudElement . subInventory . termParams . termDisplayedLines .:~ (s,c)
|
||||
& hud . hudElement . subInventory . termParams . termDisplayedLines .:~ f
|
||||
Just (TerminalLineEffect _ eff) -> w
|
||||
& hud . hudElement . subInventory . termParams . termFutureLines %~ tail
|
||||
& eff (_subInventory . _hudElement $ _hud w)
|
||||
|
||||
Reference in New Issue
Block a user