mirror of https://github.com/velour/catbase.git
tldr: fix small bug about indexing
This commit is contained in:
parent
0650a352c8
commit
fa5a0a284b
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue