Merge pull request #816 from qtxie/new-console

FIX: calculate moved size incorrectly in string/remove-char.
FEAT: Add wcwidth for INPUT native.
FIX:  doesn't reset encoding to Latin-1