1
0
mirror of https://github.com/br0xen/termbox-util.git synced 2024-11-25 23:03:13 +00:00

Pull in Remote Changes

This commit is contained in:
Brian Buller 2015-05-04 19:34:48 -05:00
parent 0fc0c58c6d
commit 06420fe4e6

View File

@ -82,8 +82,12 @@ func (i *InputModal) SetDone(b bool) *InputModal {
func (i *InputModal) IsDone() bool {
return i.is_done
}
func (i *InputModal) SetValue(s string) *InputModal {
i.input.SetValue(s)
return i
}
func (i *InputModal) GetValue() string {
return i.value
return i.input.GetValue()
}
func (i *InputModal) Clear() *InputModal {
i.title = ""