atom-community / atom-community/atom-script

[STDIN] Allow scripts to receive user input during runtime

Open
#280 29 comments 16 reactions 0 assignees View on GitHub
REPL/STDIN request
Dominant language
JavaScript
Stars
730
Forks
264
PR merge metrics
No merged PRs in 30d

Description

Hi,

Currently, Atom Script works very well for quickly checking the output of a program within the editor. However, programs may often require user input, and it seems that Atom Script does not allow for the user to type input and send it to a program when the program requests it.

For instance, the following Python 2 code never finishes but instead hangs, waiting for the user to provide input which cannot be typed anywhere.

``` python
name = raw_input('What is your name? ')
print 'Hello, ' + name + '.'
```

Therefore, I think the ability to pass user input to a program on runtime is a well-needed feature. Any possibility of adding this?

Thanks,
Caleb

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.