about summary refs log tree commit diff
path: root/src/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs
new file mode 100644
index 000000000000..1cd4e9445789
--- /dev/null
+++ b/src/Main.hs
@@ -0,0 +1,17 @@
+module Main where
+
+import Xanthous.Prelude
+import Brick
+
+import Xanthous.Game (getInitialState)
+import Xanthous.App (makeApp)
+
+ui :: Widget ()
+ui = str "Hello, world!"
+
+main :: IO ()
+main = do
+  app <- makeApp
+  initialState <- getInitialState
+  _ <- defaultMain app initialState
+  pure ()