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()}(); 
  1. open browser console (f12 / ctrl+shift+j on chrome).
  2. paste in.
  3. replace "enter text sent console" desired command.
  4. press enter.

Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -