jonsequitur / dotnet-repl

A polyglot REPL built on .NET Interactive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with pasting multiline code snippets

opened this issue · comments

I'm not sure having plain Enter key as default execute is good idea?
When you try to paste a multiline code snippet, repl executes after every line, which obviously makes pasting quite impossible.

If the execute key was Shift + Enter and newline was plain Enter (the opposite of what it is now) then you would be able to paste multiline and then execute.

Is there some other way of pasting that I'm not aware? Am I making a fool of myself?

BTW. I love this tool - great work! I was trying to bind some multiline array with data to quickly transform the data but failed at pasting the text in.
image

@patriksvensson What do you think?

@jonsequitur I will try to fix this tonight in Radline. Will submit a PR for you

This is fixed in version 0.1.30.