summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core.go b/src/core.go
index d9a83bd4..6244c99a 100644
--- a/src/core.go
+++ b/src/core.go
@@ -233,6 +233,7 @@ func Run(opts *Options, version string, revision string) {
clearCache = util.Once(true)
clearSelection = util.Once(true)
chunkList.Clear()
+ itemIndex = 0
header = make([]string, 0, opts.HeaderLines)
go reader.restart(command)
}