and define (or fix) the behavior of input ending with a slash it will now add a newline at the end of input always