mod_rayo: add support for input terminator