~sircmpwn/aerc

207ecc39cd9b1e85f482be23240fc5a90d775fd7 — Drew DeVault 1 year, 3 months ago 0ec970b 0.1.0
Fix #116
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/ui/tab.go
M lib/ui/tab.go => lib/ui/tab.go +1 -1
@@ 102,7 102,7 @@ func (tabs *Tabs) removeHistory(index int) {
			item = item - 1
		}
		// dedup
		if i > 0 && item == newHist[len(newHist)-1] {
		if i > 0 && len(newHist) > 0 && item == newHist[len(newHist)-1] {
			continue
		}
		newHist = append(newHist, item)