Attach terminal to analyser (these should rather be combined)

This commit is contained in:
2022-03-21 19:20:58 +00:00
parent 51cc04799d
commit 9c46027711
11 changed files with 92 additions and 47 deletions
+4 -1
View File
@@ -84,7 +84,10 @@ subInventoryDisplay subinv cfig w = case subinv of
]
DisplayTerminal {_termParams = tp} -> pictures
[ invHead cfig "TERMINAL"
, renderListAt subInvX 60 cfig . reverse $ take (_termMaxLines tp) (_termDisplayedLines tp)
, renderListAt subInvX 60 cfig
. reverse
. take (_termMaxLines tp)
$ _termDisplayedLines tp <&> ($ w)
]
CombineInventory mi -> pictures
[ invHead cfig "COMBINE"