Describe the bug
Running programs that require input does not work
To Reproduce
Steps to reproduce the behavior:
- Run Termello.
- Try to run a console app that requires input. (Example is python or node)
- Either the program that is run will throw an error or it will just not input anything and the prompt will show. Most likely the error is not in your program but in Termello. A good way to check is to run your program in another terminal. If it works, its Termello.
Expected behavior
Processing user input needs to work
Desktop (please complete the following information):
Additional context
The problem shows in this function
|
function processcommand(){ |
You will see the way I have processing input is a bit hacky. I need a better way of doing this so that when you execute something that requires user input it reacts accordingly.
I am aware of this issue, but because of the lack of knowledge I have not been able to fix the problem. If you came across this, feel free to make a PR if you think you have a fix :)
Describe the bug
Running programs that require input does not work
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Processing user input needs to work
Desktop (please complete the following information):
Additional context
The problem shows in this function
Termello/src/components/terminal.js
Line 50 in 056f537
You will see the way I have processing input is a bit hacky. I need a better way of doing this so that when you execute something that requires user input it reacts accordingly.
I am aware of this issue, but because of the lack of knowledge I have not been able to fix the problem. If you came across this, feel free to make a PR if you think you have a fix :)