JuliaLang / JuliaLang/PackageCompiler.jl
Is it possible to keep `REPL.REPLDisplay` as default?
- Dominant language
- Julia
- Stars
- 1.6k
- Forks
- 205
- Avg merge
- 18h 37m
- Merged PRs (30d)
- 7
Description
When using default sysimg it's shown in REPL that
```jl
julia> Base.Multimedia.displays[2]
REPL.REPLDisplay{LineEditREPL}(LineEditREPL(REPL.Term...
```
However if a package define a display (eg. `Cobweb.CobwebDisplay()`) then after `create_sysimage` of the package, the `REPLDisplay` would not stay as the second item on the list when using the customized sysimg. So the environment is different from the manual one, i.e., default sysimg -> entering REPL -> using the package.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the comparison between a default sysimg and a package-created sysimg, inspecting Base.Multimedia.displays[2] after entering the REPL. Trace the create_sysimage path and REPL display initialization; done means a customized sysimg keeps REPL.REPLDisplay as the second display even when a package defines its own display.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100