Subj : src/conio/sdl_con.c sdlfuncs.c sdlfuncs.h To : CVS commit From : deuce Date : Fri Apr 03 2020 01:34 am src/conio sdl_con.c 1.275 1.276 sdlfuncs.c 1.47 1.48 sdlfuncs.h 1.28 1.29 Update of /cvsroot/sbbs/src/conio In directory cvs:/tmp/cvs-serv19658/conio Modified Files: sdl_con.c sdlfuncs.c sdlfuncs.h Log Message: 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. .