lint: remove unused structs and functions (unused)

Signed-off-by: Moritz Poldrack <moritz@poldrack.dev>
Acked-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
Moritz Poldrack 2022-07-29 21:20:35 +02:00 committed by Robin Jarry
parent 77a00de741
commit 2534612c59
3 changed files with 1 additions and 25 deletions
widgets

View file

@ -995,13 +995,6 @@ func (he *headerEditor) storeValue() {
}
}
// setValue overwrites the current value of the header editor and flushes it
// to the underlying header
func (he *headerEditor) setValue(val string) {
he.input.Set(val)
he.storeValue()
}
func (he *headerEditor) Draw(ctx *ui.Context) {
name := textproto.CanonicalMIMEHeaderKey(he.name)
// Extra character to put a blank cell between the header and the input