diff options
author | Moritz Poldrack <git@moritz.sh> | 2022-07-29 21:20:35 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-08-04 21:57:48 +0200 |
commit | 2534612c5929782f4bf9f27df65d1d024d6947ca (patch) | |
tree | 84fc23d4ab7cedbd02e0c6f30b9e94adba87eef7 /widgets/compose.go | |
parent | 77a00de741d8fb791bf1e9aab34ff9940385e31a (diff) | |
download | aerc-2534612c5929782f4bf9f27df65d1d024d6947ca.tar.gz |
lint: remove unused structs and functions (unused)
Signed-off-by: Moritz Poldrack <moritz@poldrack.dev>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'widgets/compose.go')
-rw-r--r-- | widgets/compose.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/widgets/compose.go b/widgets/compose.go index b9528e0e..5e8a8081 100644 --- a/widgets/compose.go +++ b/widgets/compose.go @@ -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 |