wip: switching from ncurses to brick
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user