Fix ignored characters in the text editor
Fix ignored characters in the text editor

This commit fixes character handling in the text editor so that
space and tilde characters are no longer ignored.

aarmea/mumei,aarmea/mumei,aarmea/mumei