Skip to content

Commit cb2dfd7

Browse files
committed
move Terminals.jl into Base to work around significant invalidations from it
1 parent f0ece4a commit cb2dfd7

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

base/Base.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ using .Filesystem
180180
include("cmd.jl")
181181
include("process.jl")
182182
include("terminfo.jl")
183+
include("Terminals.jl") # Moved from REPL to reduce invalidations
183184
include("secretbuffer.jl")
184185

185186
# core math functions
File renamed without changes.

stdlib/REPL/src/REPL.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ import Base:
6161

6262
_displaysize(io::IO) = displaysize(io)::Tuple{Int,Int}
6363

64-
include("Terminals.jl")
65-
using .Terminals
64+
using Base.Terminals
6665

6766
abstract type AbstractREPL end
6867

0 commit comments

Comments
 (0)