Commit before making terminals there own entities
This commit is contained in:
@@ -164,8 +164,10 @@ doTerminalEffect' s w = fromMaybe (w & badinput) $ do
|
||||
)
|
||||
|
||||
addInputLine :: [TerminalCommand] -> [TerminalCommand] -> TerminalParams -> TerminalParams
|
||||
addInputLine searchablecommands hiddencommands = termFutureLines ++.~
|
||||
[TerminalLineInput 0 searchablecommands hiddencommands]
|
||||
addInputLine searchablecommands hiddencommands =
|
||||
(termFutureLines ++.~ [TerminalLineInput 0])
|
||||
. (termScrollCommands ++.~ searchablecommands)
|
||||
. (termWriteCommands ++.~ hiddencommands)
|
||||
|
||||
defaultTermParams :: TerminalParams
|
||||
defaultTermParams = TerminalParams
|
||||
@@ -178,6 +180,7 @@ defaultTermParams = TerminalParams
|
||||
,_termInput = Nothing
|
||||
,_termScrollCommands = []
|
||||
,_termWriteCommands = []
|
||||
,_termDeathCommand = Nothing
|
||||
}
|
||||
|
||||
connectionBlurb :: [String]
|
||||
|
||||
Reference in New Issue
Block a user