diff options
Diffstat (limited to 'widgets/exline.go')
-rw-r--r-- | widgets/exline.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/widgets/exline.go b/widgets/exline.go index 4a4b6559..e172dd81 100644 --- a/widgets/exline.go +++ b/widgets/exline.go @@ -20,8 +20,8 @@ type ExLine struct { func NewExLine(conf *config.AercConfig, cmd string, commit func(cmd string), finish func(), tabcomplete func(cmd string) ([]string, string), - cmdHistory lib.History) *ExLine { - + cmdHistory lib.History, +) *ExLine { input := ui.NewTextInput("", &conf.Ui).Prompt(":").Set(cmd) if conf.Ui.CompletionPopovers { input.TabComplete(tabcomplete, conf.Ui.CompletionDelay) @@ -41,8 +41,8 @@ func NewExLine(conf *config.AercConfig, cmd string, commit func(cmd string), fin } func NewPrompt(conf *config.AercConfig, prompt string, commit func(text string), - tabcomplete func(cmd string) ([]string, string)) *ExLine { - + tabcomplete func(cmd string) ([]string, string), +) *ExLine { input := ui.NewTextInput("", &conf.Ui).Prompt(prompt) if conf.Ui.CompletionPopovers { input.TabComplete(tabcomplete, conf.Ui.CompletionDelay) |