Fix for newline getting added to buffer and messing up shortcuts