Use a proper Target to manage pselect() emulation for keyboard input.