Skip to content

Activate REPL history#9822

Closed
ageron wants to merge 2 commits into
roc-lang:mainfrom
ageron:fix-history
Closed

Activate REPL history#9822
ageron wants to merge 2 commits into
roc-lang:mainfrom
ageron:fix-history

Conversation

@ageron

@ageron ageron commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

This PR activates the REPL history. It was already implemented, just not hooked up.

Moreover:

  • when running the same command several times in a row, only the first command is appended to the history.
  • when moving up and back down the history, recover the current line.

@ageron

ageron commented Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

Closing this PR as I'm merging it into #9823 as discussed with Luke.

@ageron ageron closed this Jun 26, 2026
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 this pull request may close these issues.

1 participant