summaryrefslogtreecommitdiffstats
path: root/src/Much/State.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Much/State.hs')
-rw-r--r--src/Much/State.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Much/State.hs b/src/Much/State.hs
index 43756a7..b7b01e6 100644
--- a/src/Much/State.hs
+++ b/src/Much/State.hs
@@ -9,9 +9,10 @@ import GHC.Generics
import Much.TreeView (TreeView)
import Scanner
import System.Posix.Signals
-import qualified Data.Text as T
import qualified Data.Map as M
+import qualified Data.Text as T
import qualified Data.Tree.Zipper as Z
+import qualified Much.API.Config
data State = State
{ cursor :: Z.TreePos Z.Full TreeView
@@ -29,6 +30,7 @@ data State = State
, mousemap :: Scan -> State -> IO State
, tagSymbols :: M.Map T.Text T.Text
, colorConfig :: ColorConfig (Blessings String -> Blessings String)
+ , apiConfig :: Much.API.Config.Config
}
instance Show (State -> IO ()) where