Replay.jl icon indicating copy to clipboard operation
Replay.jl copied to clipboard

Add example for numbered_prompt

Open hyrodium opened this issue 1 year ago • 2 comments

I am planning to add an example with ipython-mode (https://github.com/JuliaLang/julia/pull/46474) after Julia v1.9.0 release.

hyrodium avatar Apr 10 '23 14:04 hyrodium

Sounds great.

What should I do before doing that?

From my understanding I have to update the code below in replay function:

https://github.com/AtelierArith/Replay.jl/blob/86c3f4a2ab7f1ed82db6fe3dbfa5075739f68467/src/Replay.jl#L142-L196

This code (I wrote this one year ago) displays a hard-coded prompt that users could change. I need to read code in julia/stdlib/REPL module to figure out what Julia's REPL does.

terasakisatoshi avatar Apr 13 '23 01:04 terasakisatoshi

The feature is renamed to numbered_prompt. https://github.com/JuliaLang/julia/pull/49314

hyrodium avatar Apr 16 '23 11:04 hyrodium