Remove unused code

This commit is contained in:
Junegunn Choi 2021-12-05 21:17:38 +09:00
parent 43f0d0cacd
commit ce9af687bc
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -230,7 +230,6 @@ const (
type action struct {
t actionType
a string
c int
}
type actionType int
@ -2743,7 +2742,6 @@ func (t *Terminal) Loop() {
parsePreviewWindow(&t.previewOpts, tokens[0])
if len(tokens) > 1 {
a.a = strings.Join(append(tokens[1:], tokens[0]), "|")
a.c++
}
if t.previewOpts.hidden {