Reset offset when sending message

Fixes #73
This commit is contained in:
erroneousboat 2018-01-26 12:07:14 +01:00
parent 8d85421235
commit 97c735f828

View File

@ -194,6 +194,7 @@ func (i *Input) Clear() {
i.Par.Text = ""
i.CursorPositionScreen = 0
i.CursorPositionText = 0
i.Offset = 0
}
// GetText returns the text currently in the input