Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiline REPL #2092

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Multiline REPL #2092

wants to merge 1 commit into from

Conversation

xsebek
Copy link
Member

@xsebek xsebek commented Jul 31, 2024

A buggy, but functional multiline REPL using the brick editor. Known bugs:

  • the REPL always takes 5 lines, clamping it to the required amount is not yet implemented
  • the inline error highlighting can be wrong or missing
  • missing multiline prompt, and in history it gets de-indented
  • repl history save splits the user input into lines - works well until restarting the game
Screenshot 2024-08-01 at 12 05 24 AM Screenshot 2024-08-01 at 12 09 46 AM

You can test it with Meta+M. (This would be configurable by #2010.)

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.

Multi-line REPL input
1 participant