diff --git a/plugins/tldr/tldr.go b/plugins/tldr/tldr.go index fc03454..0f5b434 100644 --- a/plugins/tldr/tldr.go +++ b/plugins/tldr/tldr.go @@ -157,6 +157,7 @@ func (p *TLDRPlugin) pruneHistory() { } } p.history = out + p.index = len(out) } // Help responds to help requests. Every plugin must implement a help function.