Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.9 issue: switched active module name not being displayed when loaded in startup.jl #299

Closed
daviehh opened this issue Mar 8, 2023 · 0 comments · Fixed by #302
Closed

Comments

@daviehh
Copy link
Contributor

daviehh commented Mar 8, 2023

Using the contextual module switching introduced in https://github.com/JuliaLang/julia/blob/release-1.9/NEWS.md#repl , e.g. REPL.activate(Base) or Base + Alt-m,

  • with using OhMyREPL in startup.jl, the prompt is not updated and is still julia> after switching

  • if OhMyREPL is not in the startup.jl file but used in an interactive session, the switched module name is displayed in front as expected as (Base) julia> (expected behavior)

julia version

Julia Version 1.9.0-rc1
Commit 3b2e0d8fbc1 (2023-03-07 07:51 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin21.4.0)
  CPU: 10 × Apple M1 Pro
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, apple-m1)
  Threads: 1 on 8 virtual cores
Environment:
  JULIA_MATHLINK = /Applications/Mathematica.app/Contents/Frameworks/mathlink.framework
  JULIA_MATHKERNEL = /Applications/Mathematica.app/Contents/MacOS/MathKernel
@daviehh daviehh changed the title 1.9 issue: switch repl contextual module when loaded in startup.jl 1.9 issue: switched active module name not being displayed when loaded in startup.jl Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant