$term->addhistory(line)
term
line
Adds line to the input history.
Copyright © 2001 O'Reilly & Associates. All rights reserved.