rgbkrk / libvirt-go

[DEPRECATED] Go bindings for libvirt
https://github.com/libvirt/libvirt-go
MIT License
166 stars 50 forks source link

SendKey failed to send multiply keys at once #49

Open vtolstov opened 9 years ago

vtolstov commented 9 years ago

http://godoc.org/gopkg.in/alexzorin/libvirt-go.v2#VirDomain.SendKey

I'm need to send _ (underscore) also i need symbols in UpperCase, but can't For example underscore need to be entered as []uint{41,12} , but as i see in vnc console nothing printed, and i think that only first symbol entered (shift).

Can you check this?

vtolstov commented 9 years ago

hah, i see pr for this #44

vtolstov commented 9 years ago

@alexzorin can you merge pr ?

alexzorin commented 9 years ago

As I mentioned in the PR, the correct fix is to correct the size of ints across the entire project. Totally my fault, but I haven't had any spare time to work on this - sorry. Will gladly accept a PR to fix the int types across the project, but I won't be merging #44-style fixes.