julia> Base.active_repl.interface.modes[1].prompt = "my_prompt> "
my_prompt> # Is there a universal way to fallback to default prompt?
my_prompt> # without Base.active_repl.interface.modes[1].prompt = "julia> "
my_prompt> # for example `Base.active_repl.reset()` and go to `julia>`
julia>
This method should be universal to fallback to
(Main.MyModule) julia>
and juia>
I thought about saving the previous state of repl, because it could be changed the same way as mine.
Any other ideas?