diff --git a/Project.toml b/Project.toml index 32ace1c7e..e855d7ce4 100644 --- a/Project.toml +++ b/Project.toml @@ -13,6 +13,7 @@ GMP_jll = "781609d7-10c4-51f6-84f2-b8444358ff6d" Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb" MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09" Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a" +Ncurses_jll = "68e3532b-a499-55ff-9963-d1c0c0748b3a" Pidfile = "fa939f87-e72e-5be4-a000-7fc836dbe307" Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" @@ -24,6 +25,7 @@ GAP_jll = "~400.1200.101" GAP_lib_jll = "~400.1201.100" GAP_pkg_juliainterface_jll = "=0.800.201, =0.800.202" MacroTools = "0.5" +Ncurses_jll = "6.4.1" Pidfile = "1.3" Scratch = "1.1" julia = "1.6" diff --git a/src/GAP.jl b/src/GAP.jl index 171ae69df..62e81ca19 100644 --- a/src/GAP.jl +++ b/src/GAP.jl @@ -286,13 +286,7 @@ function __init__() push!(cmdline_options, "-b") end - - # The following withenv is needed to get readline input to work right; see also - # https://github.com/JuliaPackaging/Yggdrasil/issues/455 and - # https://github.com/oscar-system/GAP.jl/issues/415 - withenv("TERMINFO_DIRS" => joinpath(GAP_jll.Readline_jll.Ncurses_jll.find_artifact_dir(), "share", "terminfo")) do - initialize(cmdline_options) - end + initialize(cmdline_options) if !show_banner # Leave it to GAP's `LoadPackage` whether package banners are shown.