add an example which show how to handle cursor movement in bash
add an example which show how to handle cursor movement in bash