Fix GetText to return actual text not representation

Fixes #81
This commit is contained in:
erroneousboat 2018-01-27 09:54:40 +01:00
parent b6b1b799f2
commit 2b86b6f9fd

View File

@ -199,7 +199,7 @@ func (i *Input) Clear() {
// GetText returns the text currently in the input
func (i *Input) GetText() string {
return i.Par.Text
return string(i.Text)
}
// GetMaxWidth returns the maximum number of positions