It is really nice to clean this one up before it gets more out of hand. Basic idea is to stop copying the
keyboard_lastcharlogic all over the place. SDL's text handling abstraction really inspired me. The goal here is to also add UTF-8 support for keyboard_string on the xlib and Win32 platforms.
Simple test for you.
draw_text(0,0,keyboard_string + "#" + keyboard_lastchar);
>Codecov ReportPlease sign in to post comments, or you can view this issue on GitHub.
@@ Coverage Diff @@ ## master #2062 +/- ## ========================================== - Coverage 30.93% 30.93% -0.01% ========================================== Files 197 197 Lines 19102 19103 +1 ========================================== Hits 5910 5910 - Misses 13192 13193 +1
|Impacted Files||Coverage Δ|