Add external Trie library before using Tries for terminal commands
This commit is contained in:
@@ -40,7 +40,7 @@ basicTerminal =
|
||||
{ _tmDisplayedLines = []
|
||||
, _tmFutureLines = []
|
||||
-- , _tmTitle = "TERMINAL"
|
||||
, _tmScrollCommands = [helpCommand,commandsCommand,quitCommand]
|
||||
, _tmCommands = [helpCommand,commandsCommand,quitCommand]
|
||||
-- , _tmWriteCommands = [helpCommand, commandsCommand]
|
||||
, _tmBootLines = connectionBlurb
|
||||
, _tmDeathEffect = TmWdWdDoDeathTriggers
|
||||
@@ -110,7 +110,7 @@ termTextColor :: Color
|
||||
termTextColor = greyN 0.9
|
||||
|
||||
getCommands :: Terminal -> [TerminalCommand]
|
||||
getCommands tm = _tmScrollCommands tm -- ++ _tmWriteCommands tm
|
||||
getCommands tm = _tmCommands tm -- ++ _tmWriteCommands tm
|
||||
|
||||
makeTermLine :: String -> TerminalLine
|
||||
makeTermLine = makeColorTermLine termTextColor
|
||||
|
||||
Reference in New Issue
Block a user