FIX: regression caused by changes in insert-char function
Merge pull request #781 from qtxie/new-console

FIX: regression caused by changes in insert-char function