diff options
| author | Akshay Nair <phenax5@gmail.com> | 2024-12-14 20:59:19 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2024-12-14 21:32:10 +0530 |
| commit | 0c6b8c83e8673b394914e1f824dfb887b762b0ee (patch) | |
| tree | b7878e594881609bd88b6f2f461cfdff5e9c7ab9 /src/Chelleport/AppShell.hs | |
| parent | 34907bc25dba055dfbfe91d9a91803cc75283bfa (diff) | |
| download | chelleport-0c6b8c83e8673b394914e1f824dfb887b762b0ee.tar.gz chelleport-0c6b8c83e8673b394914e1f824dfb887b762b0ee.zip | |
Add Tab to reset key sequence
Diffstat (limited to 'src/Chelleport/AppShell.hs')
| -rw-r--r-- | src/Chelleport/AppShell.hs | 4 |
1 files changed, 2 insertions, 2 deletions
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}) |
