Fixed bug in escape handing that prevented vim from setting title. The change from memcpy to copy_n copied to the buffer + length of the sequence, rather than to the end of the last characters that came in.
Fixed bug in escape handing that prevented vim from setting title.
The change from memcpy to copy_n copied to the buffer + length of the
sequence, rather than to the end of the last characters that came in.

Also did some more refactoring, making m_trantbl a std::array

drcforbin/rwte,drcforbin/rwte,drcforbin/rwte,drcforbin/rwte