aerc

Working clone of aerc-mail.org
git clone git://git.danielmoch.com/aerc.git
Log | Files | Refs | README | LICENSE

commit 207ecc39cd9b1e85f482be23240fc5a90d775fd7
parent 0ec970bce8ae674cc10434080548aace7caeac0e
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon,  3 Jun 2019 07:56:08 -0400

Fix #116

Diffstat:
Mlib/ui/tab.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ui/tab.go b/lib/ui/tab.go @@ -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)