S
Sujith Gangaraju
I am showing document in browser
i want to disable the copy option ctrl + c key in ruby
please help me out
i want to disable the copy option ctrl + c key in ruby
please help me out
Sujith said:I am showing document in browser
i want to disable the copy option ctrl + c key in ruby
please help me out
Might work to do it the traditional Ruby way:
http://betterlogic.com/roger/?p=3D110
windows:
trap :INT, proc { =E2=80=98ha got your ctrl-c!=E2=80=99 }
and linux
trap =E2=80=9DSIGUSR1=E2=80=B3, proc {=E2=80=99got it in linux, = too=E2=80=99}
I think. Maybe add to environment.rb?
-- =20
Posted via http://www.ruby-forum.com/.
Might work to do it the traditional Ruby way:
http://betterlogic.com/roger/?p=3D110
windows:
trap :INT, proc { =E2=80=98ha got your ctrl-c!=E2=80=99 }
and linux
trap =E2=80=9DSIGUSR1=E2=80=B3, proc {=E2=80=99got it in linux, = too=E2=80=99}
I think. Maybe add to environment.rb?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.