Commit before making terminals there own entities
This commit is contained in:
@@ -166,11 +166,11 @@ updateTerminalLine w = case w ^? hud . hudElement . subInventory . termParams .
|
||||
Just (TerminalLineEffect _ eff) -> w
|
||||
& pointTermParams . termFutureLines %~ tail
|
||||
& eff (_subInventory . _hudElement $ _hud w)
|
||||
Just (TerminalLineInput _ scrollc writec) -> w & pointTermParams %~
|
||||
Just (TerminalLineInput _) -> w & pointTermParams %~
|
||||
( ( termFutureLines %~ tail )
|
||||
. ( termInput ?~ T.empty )
|
||||
. ( termScrollCommands .~ scrollc )
|
||||
. ( termWriteCommands .~ writec ) )
|
||||
-- . ( termScrollCommands .~ scrollc )
|
||||
-- . ( termWriteCommands .~ writec )
|
||||
. ( termInput ?~ T.empty ) )
|
||||
where
|
||||
pointTermParams = hud . hudElement . subInventory . termParams
|
||||
|
||||
|
||||
Reference in New Issue
Block a user