aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ui/borders.go
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2022-07-30 13:29:46 +0200
committerRobin Jarry <robin@jarry.cc>2022-08-04 21:58:00 +0200
commitc882cf9960be691fe55617b87cdfcfbabd5d5557 (patch)
tree7446d447a9992f8d761692362ebb66b5e12c1edb /lib/ui/borders.go
parent5ca6022d007bc83daba1e7297480d37f56554455 (diff)
downloadaerc-c882cf9960be691fe55617b87cdfcfbabd5d5557.tar.gz
lint: removed unused code (deadcode, structcheck, unused)
Signed-off-by: Moritz Poldrack <moritz@poldrack.dev> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/ui/borders.go')
-rw-r--r--lib/ui/borders.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/ui/borders.go b/lib/ui/borders.go
index 8d381b91..2c689886 100644
--- a/lib/ui/borders.go
+++ b/lib/ui/borders.go
@@ -15,10 +15,9 @@ const (
type Bordered struct {
Invalidatable
- borders uint
- content Drawable
- onInvalidate func(d Drawable)
- uiConfig *config.UIConfig
+ borders uint
+ content Drawable
+ uiConfig *config.UIConfig
}
func NewBordered(