now support linenoiseEditInsert()

(1)Support linenoiseEditInsert()
(2)Using callback functions to avoid directly operating

*The memmove() in linenoiseEditInsert() is not available, need to be solve.