Skip to content

x/exp/shiny: value of event/key.Event.Rune inconsistent across platforms while control key is pressed #17011

@aarzilli

Description

@aarzilli

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions