Fix cursor position on utf8 input
Don't truncate utf8 sequences on backspace/delete
Merge pull request #6 from ebfe/utf8

Improve utf8 handling