MCPcopy Index your code
hub / github.com/python-cmd2/cmd2 / load_history_strings

Method load_history_strings

cmd2/pt_utils.py:184–186  ·  view source on GitHub ↗

Yield strings from newest to oldest.

(self)

Source from the content-addressed store, hash-verified

182 """No-op: Persistent history data is stored in cmd_app.history."""
183
184 def load_history_strings(self) -> Iterable[str]:
185 """Yield strings from newest to oldest."""
186 yield from self._loaded_strings
187
188 def clear(self) -> None:
189 """Clear the UI history navigation data."""

Calls

no outgoing calls