term_replot function

Replot the current device in the terminal.