(self)
| 85 | |
| 86 | class restore_history(commands.Command): |
| 87 | def do(self) -> None: |
| 88 | r = self.reader |
| 89 | if r.historyi != len(r.history): |
| 90 | if r.get_unicode() != r.history[r.historyi]: |
| 91 | r.buffer = list(r.history[r.historyi]) |
| 92 | r.pos = len(r.buffer) |
| 93 | r.dirty = True |
| 94 | |
| 95 | |
| 96 | class first_history(commands.Command): |
nothing calls this directly
no test coverage detected