addhistory

$

term


->addhistory(


line


)

Adds line to the input history.