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

repl: how to send multi line snippets #3416

Open
kootenpv opened this issue Sep 7, 2024 · 0 comments
Open

repl: how to send multi line snippets #3416

kootenpv opened this issue Sep 7, 2024 · 0 comments

Comments

@kootenpv
Copy link

kootenpv commented Sep 7, 2024

continuing from #1832 and working with the latest repl commit branch

I am unsure how I can send multline, as \n is not valid

also just copy pasting into the repl multiple lines just executes them independently and gives a syntax error

when I write to file what is being sent to the repl, this is how it succesfully works for a single line:

["/run-code\x00\x00\x00,is\x00\x00\x00\x00\x01", "play", "60", "\x00\x00"]

but how can this be extended to allow sending e.g.:

play 60
play 64

?

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

No branches or pull requests

1 participant