Add string to the history.
(self, string: str)
| 18 | super().__init__(filename) |
| 19 | |
| 20 | def append_string(self, string: str) -> None: |
| 21 | "Add string to the history." |
| 22 | self._loaded_strings.insert(0, string) |
| 23 | if is_password_change(string): |
| 24 | return |
| 25 | self.store_string(string) |
| 26 | |
| 27 | def load_history_with_timestamp(self) -> list[tuple[str, str]]: |
| 28 | """ |