CircuitSacul/io

Handle stdin

Closed this issue · 2 comments

Handle stdin

I think stdin should be inputted as a code block after the first one

```python
<code goes here>
`​``
`​``
<stdin>
`​``

If they input the code as a file then the only code block will be used as stdin.

You have to consider the fact that Create Instance exists - part of my goal with io was that you could run someone elses code block. I think it would be best if stdin defaulted to nothing, and you could use a button to create a modal with a mutliline input field for editing it.