[RFC]: add command to display command history in the REPL #2071
Labels
difficulty: 3
Likely to be challenging but manageable.
Enhancement
Issue or pull request for enhancing existing functionality.
JavaScript
Issue involves or relates to JavaScript.
Needs Discussion
Needs further discussion.
priority: Normal
Normal priority concern or feature request.
REPL
Issue or pull request specific to the project REPL.
RFC
Request for comments. Feature requests and proposed changes.
Description
This RFC proposes adding support for displaying command history in the REPL. The behavior would be similar to that in IPython: https://ipython.readthedocs.io/en/stable/interactive/magics.html?highlight=magic#magic-history
Potential command signature:
with the ability to
n
[start, stop]
and options to
success
option)-n
option in IPython)p
option in IPython, but where one can provide, say,In [%d]:
to allow restarting the line numbers, which may be useful when printing REPL examples, etc)Related Issues
No.
Questions
Other
No.
Checklist
RFC:
.The text was updated successfully, but these errors were encountered: