summary refs log tree commit diff stats
path: root/widgets/exline.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-05-12 00:06:09 -0400
committerDrew DeVault <sir@cmpwn.com>2019-05-12 00:06:09 -0400
commit577248f5e15d98a9a6522a605acd434059582bfc (patch)
tree890e305c723c4c21c9fba071571ee0d010be1183 /widgets/exline.go
parentc05e5f73f29566812b7623311db8c6196c7be063 (diff)
downloadaerc-577248f5e15d98a9a6522a605acd434059582bfc.tar.gz
Add initial compose widget
Diffstat (limited to 'widgets/exline.go')
-rw-r--r--widgets/exline.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/exline.go b/widgets/exline.go
index a5b896f..7b7530d 100644
--- a/widgets/exline.go
+++ b/widgets/exline.go
@@ -14,7 +14,7 @@ type ExLine struct {
 }
 
 func NewExLine(commit func(cmd string), cancel func()) *ExLine {
-	input := ui.NewTextInput().Prompt(":")
+	input := ui.NewTextInput("").Prompt(":")
 	exline := &ExLine{
 		cancel: cancel,
 		commit: commit,