From 0c6b8c83e8673b394914e1f824dfb887b762b0ee Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 14 Dec 2024 20:59:19 +0530 Subject: Add Tab to reset key sequence --- src/Chelleport/AppShell.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Chelleport/AppShell.hs') diff --git a/src/Chelleport/AppShell.hs b/src/Chelleport/AppShell.hs index 9b8a284..0a5bdfe 100644 --- a/src/Chelleport/AppShell.hs +++ b/src/Chelleport/AppShell.hs @@ -1,6 +1,6 @@ module Chelleport.AppShell where -import Chelleport.Context (createContext) +import Chelleport.Context (initializeContext) import Chelleport.Draw (colorBackground) import Chelleport.Types import Control.Monad (foldM, unless) @@ -25,7 +25,7 @@ setupAppShell initState update eventHandler draw = do SDL.initializeAll TTF.initialize - ctx <- createContext + ctx <- initializeContext state <- initState ctx appLoop ctx (state, SysState {sysExit = False}) -- cgit v1.3.1