summary refs log tree commit diff stats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/aerc.go2
-rw-r--r--widgets/exline.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go
index 345f3ea..87009cd 100644
--- a/widgets/aerc.go
+++ b/widgets/aerc.go
@@ -301,7 +301,7 @@ func (aerc *Aerc) SelectTab(name string) bool {
 }
 
 func (aerc *Aerc) SelectTabIndex(index int) bool {
-	for i, _ := range aerc.tabs.Tabs {
+	for i := range aerc.tabs.Tabs {
 		if i == index {
 			aerc.tabs.Select(i)
 			return true
diff --git a/widgets/exline.go b/widgets/exline.go
index 8ec69d6..1482f0e 100644
--- a/widgets/exline.go
+++ b/widgets/exline.go
@@ -92,7 +92,7 @@ type nullHistory struct {
 	input *ui.TextInput
 }
 
-func (_ *nullHistory) Add(string) {}
+func (*nullHistory) Add(string) {}
 
 func (h *nullHistory) Next() string {
 	return h.input.String()
@@ -102,4 +102,4 @@ func (h *nullHistory) Prev() string {
 	return h.input.String()
 }
 
-func (_ *nullHistory) Reset() {}
+func (*nullHistory) Reset() {}
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214