aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ui/textinput.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ui/textinput.go')
-rw-r--r--lib/ui/textinput.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ui/textinput.go b/lib/ui/textinput.go
index 9d1de963..8f8f00d0 100644
--- a/lib/ui/textinput.go
+++ b/lib/ui/textinput.go
@@ -59,7 +59,8 @@ func (ti *TextInput) Prompt(prompt string) *TextInput {
}
func (ti *TextInput) TabComplete(
- tabcomplete func(s string) ([]string, string), d time.Duration) *TextInput {
+ tabcomplete func(s string) ([]string, string), d time.Duration,
+) *TextInput {
ti.tabcomplete = tabcomplete
ti.completeDelay = d
return ti