console - Copy paste is not working in command prompt neither right click or keyboard shortcuts -
when i'm using console of digital-ocean operations not working paste through keyboard, right click of mouse , scrolling of console.
you can use following script (found here, posted @dave butler commented below):
!function(){function t(){function n(t,e){s=s.concat(rfb.messages.keyevent(t,e))}var o=e.shift(),s=[],i=o.charcodeat(),c=-1!=='!@#$%^&*()_+{}:"<>?~|'.indexof(o),r=xk_shift_l;c&&n(r,1),n(i,1),n(i,0),c&&n(r,0),rfb._sock.send(s),e.length>0&&settimeout(t,10)}var e=prompt("enter text sent console").split("");t()}();
- open browser console (f12 / ctrl+shift+j on chrome).
- paste in.
- replace "enter text sent console" desired command.
- press enter.
Comments
Post a Comment