1. PS1/PS2 calculation to decide if the request is waiting or completd is fixed now. 2. Empty commands are not executed, simply @bash.execute(n) is done which anyway happens after every command execution. 3. In waiting state - the output is pushed as is, no removal of any data. 4. Input field is emptied on successful POST request to execute URL
1. Added thin server for demo-app to let concurrent requests come in. 2. Removed waiting for the lines to appear for Code execution as it will stall for blocking command output. 3. irb, rails console & rails server are working fine now