13 is the magic key to give 'enter’ as input in terminals (if I remember correctly)
Ben On 17 Feb 2014, at 11:54, Nicolai Hess <[hidden email]> wrote:
|
Probably more than you wanted to know... http://answers.google.com/answers/threadview/id/267586.html http://www.everything2.org/index.pl?node=control%20codes cheers -ben |
Hi Nicolai! which event are you listening to? Which platform? :) Keyup and keypress behave indeed differently though they use the same data structure (the event buffer array) to send the event from the vm to the image. Some fields that are valid for keyup are not for keypress and vice-versa.
Cheers, Guille On Mon, Feb 17, 2014 at 2:01 PM, <[hidden email]> wrote:
|
hi Guille, platform: Windows. keyup/keydown/keystroke? shows (pharo and squeak) (keyvalue->event) 23->[keystroke '<Ctrl-w>'] 87->[keyUp '<Ctrl-W>'] ) 10->[keystroke '<Ctrl-j>'] 13->[keyUp '<Ctrl-m>'] nicolai 2014-02-17 14:48 GMT+01:00 Guillermo Polito <[hidden email]>:
|
That is keypress. In keypress you don't have to rely on the keyvalue but on the charcode. On Mon, Feb 17, 2014 at 3:39 PM, Nicolai Hess <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |