Abnormal hook run before input is sent to the process. These functions get one argument, a string containing the text to send.