Shayan
Shayan

Reputation: 6295

How to clear the Julia's REPL log?

One of the cool features of Julia's REPL is that you can see and recall all code blocks you have written so far in the REPL. Using Ctrl+R I can see them all. Also, it's possible to scroll between them using key and recall them by Enter or double left-click. The issue is that, in my case, it shows a number at the end of the log: enter image description here

I guess this number indicates the total code blocks logged so far. How can I clear this kind of history and log? Each time I execute REPL, I think it tries to read all the records.

Upvotes: 1

Views: 351

Answers (1)

Shayan
Shayan

Reputation: 6295

I found the logs in C://Users/<USER>/.julia/logs/repl_history.jl. After deleting all of its content, the logs will be removed.
enter image description here

Upvotes: 4

Related Questions