(self, s: str)
| 1007 | return more |
| 1008 | |
| 1009 | def insert_into_history(self, s: str): |
| 1010 | try: |
| 1011 | self.rl_history.append_reload_and_write( |
| 1012 | s, self.config.hist_file, getpreferredencoding() |
| 1013 | ) |
| 1014 | except RuntimeError as e: |
| 1015 | self.interact.notify(f"{e}") |
| 1016 | |
| 1017 | def prompt_undo(self) -> int: |
| 1018 | """Returns how many lines to undo, 0 means don't undo""" |
no test coverage detected