summaryrefslogtreecommitdiff
path: root/ui/ui.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.go')
-rw-r--r--ui/ui.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/ui.go b/ui/ui.go
index 9f0b13d..fc1a2da 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -318,6 +318,10 @@ func (ui *UI) InputClear() bool {
return ui.e.Clear()
}
+func (ui *UI) InputSet(text string) {
+ ui.e.Set(text)
+}
+
func (ui *UI) InputBackSearch() {
ui.e.BackSearch()
}