Re: [go-nuts] x/term: go-keycodes

2017-05-17 Thread Nigel Tao
On Sun, May 14, 2017 at 6:02 PM, anatoly techtonik wrote: > On Fri, May 12, 2017 at 7:54 AM, Nigel Tao wrote: >> On Fri, May 12, 2017 at 3:11 AM, anatoly techtonik >> wrote: >>> I am new to Go and I need a cross-platform value for keyboard key codes to >>> make sure I can react to user key pres

Re: [go-nuts] x/term: go-keycodes

2017-05-14 Thread anatoly techtonik
On Fri, May 12, 2017 at 7:54 AM, Nigel Tao wrote: > On Fri, May 12, 2017 at 3:11 AM, anatoly techtonik > wrote: >> I am new to Go and I need a cross-platform value for keyboard key codes to >> make sure I can react to user key presses regardless of operating system >> layer. > > FYI, there's alr

Re: [go-nuts] x/term: go-keycodes

2017-05-11 Thread Nigel Tao
On Fri, May 12, 2017 at 3:11 AM, anatoly techtonik wrote: > I am new to Go and I need a cross-platform value for keyboard key codes to > make sure I can react to user key presses regardless of operating system > layer. FYI, there's already the key.Code type defined in https://github.com/golang/mo

[go-nuts] x/term: go-keycodes

2017-05-11 Thread anatoly techtonik
I am new to Go and I need a cross-platform value for keyboard key codes to make sure I can react to user key presses regardless of operating system layer. Thanks to the feedback from other projects, namely https://github.com/eiannone/keyboard and https://github.com/depp/keycode I was able to c