wip: switching from ncurses to brick

This commit is contained in:
jlamothe committed 2023-05-30 17:49:35 -04:00
1 parent 458554bef2
commit 227401461b
32 files changed
+400 -446

No files matched your search

+4 -3
View File
@@ -21,10 +21,11 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
module Main where
import Control.Monad.Trans.State (evalStateT)
import UI.NCurses (runCurses)
import Brick.Main (defaultMain)
import Control.Monad (void)
import Mtlstats
import Mtlstats.Types
main :: IO ()
main = runCurses $ initState >>= evalStateT mainLoop
main = void $ defaultMain app newProgState