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

Allow Ctrl-C trap to be disabled to allow Copy #12

Open sdether opened 11 years ago

sdether commented 11 years ago

Currently Ctrl-C is trapped (as it should for shells). But it would be nice it that trap could be optionally defeated so Copy can continue to work.

Bonus: When that trap is disabled, Josh should instead trap (but still bubble) Ctrl-X and Ctrl-V so that text on the command line can participate in regular Cut/Paste operations