diff --git a/src/REPLGamesBase.jl b/src/REPLGamesBase.jl index 261ff4a..4291ae0 100644 --- a/src/REPLGamesBase.jl +++ b/src/REPLGamesBase.jl @@ -1,11 +1,6 @@ module REPLGamesBase using Crayons, REPL - -include("rawmode.jl") -include("cursor.jl") -include("readkey.jl") - export rawmode, clear_screen, readKey, put, terminal_screen function __init__() @@ -13,4 +8,8 @@ function __init__() terminal = REPL.Terminals.TTYTerminal(get(ENV, "TERM", Base.Sys.iswindows() ? "" : "dumb"), stdin, stdout, stderr) end +include("rawmode.jl") +include("cursor.jl") +include("readkey.jl") + end # module