Make text send on keydown rather than up