sdether / josh.js

Toolkit for building a bash-like shell in the browser, including full readline support
http://sdether.github.com/josh.js/
Apache License 2.0
390 stars 76 forks source link

cmds typing before the cmd $ #31

Open amlwwalker opened 8 years ago

amlwwalker commented 8 years ago

Hi Josh, Having a play with your cmd in the browser, and loving it. Just one issue, when I type in the cmd, what I type appears before the $ sign. See image. I am pretty sure I have everything included correctly, it might be a CSS issue. Could you suggest anything? Thanks Alex

I have included:

<script src="/public/CMD-js/history.js"></script>
<script src="/public/CMD-js/shell.js"></script>
<script src="/public/CMD-js/readline.js"></script>
<script src="/public/CMD-js/killring.js"></script>
<script src="/public/CMD-js/input.js"></script>

and see here where it is typing

image