Add external Trie library before using Tries for terminal commands

This commit is contained in:
2025-08-16 01:58:21 +01:00
parent 73cdf42e4a
commit f7759b1f31
9 changed files with 15 additions and 12 deletions
+2 -2
View File
@@ -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