mjl- / duit

pure go, cross-platform, MIT-licensed ui toolkit for developers
MIT License
951 stars 38 forks source link

Can't paste text inside field #12

Closed 8lall0 closed 6 years ago

8lall0 commented 6 years ago

I'm on windows, when i paste something it shows a square character.

ghost commented 6 years ago

This reminds me.. there was an issue about changing the way suite run on windows. Do you know what I mean ? Has this happened ?

8lall0 commented 6 years ago

I have no idea what you are talking about

ghost commented 6 years ago

Devdraw is what it's called in the readme.

I never was able to get suit working on windows.

Does this ring any bells ?

On Wed, 13 Jun 2018, 14:26 Savino Pio Liguori, notifications@github.com wrote:

I have no idea what you are talking about

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mjl-/duit/issues/12#issuecomment-396919333, or mute the thread https://github.com/notifications/unsubscribe-auth/ATuCwl_DESbDhx8oh98fs0-_vARZcyyrks5t8QULgaJpZM4UmDyr .

8lall0 commented 6 years ago

Yeah, i'm using a fork of duit, the @ktye one.

ktye commented 6 years ago

Copy/paste are currently mapped to the Command key not the Control key: https://github.com/mjl-/duit/blob/master/field.go#L455 It is not triggered on windows.

If you change the case to Ctrl & 'c' than it should trigger.

8lall0 commented 6 years ago

@ktye nice, thank you. Do you think that this "windows support" would be a nice addition to duit?