Improve terminal_fprint arguments