has anyone experience with the new KEY_CONTROL_{L,R} keycode? I try to
determine whether the keycode was produced by using a control key:

  nodelay(win, FALSE);
  int key = wgetch(win);
  nodelay(win, TRUE);
  int c = wgetch(win);
  if (c == KEY_CONTROL_L || c == KEY_CONTROL_R) // ...

but c seems to be always 0.

Any ideas?


Reply via email to