Skip to content

fix: allow multiple command pastes in console#519

Merged
iamdefinitelyahuman merged 1 commit intomasterfrom
fix-console-multiline
May 14, 2020
Merged

fix: allow multiple command pastes in console#519
iamdefinitelyahuman merged 1 commit intomasterfrom
fix-console-multiline

Conversation

@iamdefinitelyahuman
Copy link
Copy Markdown
Member

What I did

Properly handle multi-statement pastes in the console

Closes #516

How I did it

Add a custom key binding for the BracketedPaste that swaps the compile mode from single to exec.

How to verify it

Run the console.

@iamdefinitelyahuman iamdefinitelyahuman merged commit 83ed8a4 into master May 14, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the fix-console-multiline branch May 14, 2020 14:35
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.

Cannot paste multiple statements into the console

1 participant