x/exp/shiny: value of event/key.Event.Rune inconsistent across platforms while control key is pressed #17011
Labels
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.7 linux/amd64
go version go1.7 windows/amd64
What did you do?
Open a shiny window, log key events received, press ctrl+C on the window.
What did you expect to see?
I expected the value of event/key.Event.Rune to be the same on linux and windows
What did you see instead?
On linux ctrl+C produces the rune 'c', on windows 0x3 is reported instead. This isn't limited to 'c' all ctrl+key combinations produce different results on windows and linux. I think that the value of Rune should either be the same across platforms or always set to -1 when ctrl is pressed.
The text was updated successfully, but these errors were encountered: