Remove platform-specific copy/paste code and use SDL2 copy/paste code instead.
This means I needed to whip up utf-8 <-> cp437 converters. Only loss of functionality is that we can't paste NULs anymore. We can *copy* them though, they are converted to zero-width non-breaking spaces. Depending on feedback, I may need to normalize the UTF-8 before conversion to get the most matches, and zero-width/combining codepoints should likely be stripped instead of replaced, but I'm not overly worried about it.
Please register or sign in to comment