cursor.go
func (c *Cursor) Replace(input string) {
	c.input = []rune(input)
	c.End()
}
func (c *Cursor) Replace(input string) {
	c.input = []rune(input)
	c.End()
}
// Replace replaces the previous input with whatever is specified, and moves the
// cursor to the end position