Factorize event.preventDefault()

Signed-off-by: James Almer <jamrial@gmail.com>
Pause key will now un/pause the AutoScroll

The InputField must have focus for this to work

Signed-off-by: James Almer <jamrial@gmail.com>
PgUp-PgDn keys will now scroll the chat

The InputField must have focus for this to work

Signed-off-by: James Almer <jamrial@gmail.com>