added another callback to example
[AESH-76]
fixed cursor position when resetting prompt