summaryrefslogtreecommitdiffstats
path: root/src/Much/Core.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Much/Core.hs')
-rw-r--r--src/Much/Core.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Much/Core.hs b/src/Much/Core.hs
index 769fd03..b0f9a51 100644
--- a/src/Much/Core.hs
+++ b/src/Much/Core.hs
@@ -70,6 +70,7 @@ emptyState = State
, unreadSearch = SGR [38,5,250]
}
, tagSymbols = M.empty
+ , apiConfig = Much.API.emptyConfig
}
@@ -164,7 +165,7 @@ runState q0 = do
threadIds <- mapM forkIO
[ forever $ scan stdin >>= putEvent . EScan
- , Much.API.main putEvent
+ , Much.API.main (apiConfig q1) putEvent
]
winchHandler putEvent