def add_history(self, line):
        self.mode._history.add_history(line)
Append a line to the history buffer, as if it was the last line typed.
dataset/ETHPy150Open Ali-Razmjoo/OWASP-ZSC/module/readline_windows/pyreadline/rlmain.py/BaseReadline.add_history