Added size handler for window size change events
Use a chars handler for data received in a term connection