Skip to content

Commit

Permalink
Revert "reorder includes / exports"
Browse files Browse the repository at this point in the history
This reverts commit 552fa16.
  • Loading branch information
ChristianKurz committed Aug 11, 2018
1 parent 552fa16 commit d4fba2b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/REPLGamesBase.jl
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
module REPLGamesBase

using Crayons, REPL

include("rawmode.jl")
include("cursor.jl")
include("readkey.jl")

export rawmode, clear_screen, readKey, put, terminal_screen

function __init__()
global terminal
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

0 comments on commit d4fba2b

Please sign in to comment.