cleanup around single vs. multiline text mutation controls

This commit is contained in:
Ryan Fleury committed 2026-07-27 14:47:32 -07:00
1 parent 315e0672d3
commit c8dae72968
7 files changed
+173 -225

No files matched your search

@@ -506,7 +506,7 @@ w32_wm_wnd_proc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case WM_CHAR:
{
U32 character = wParam;
if(character >= 10 && character != 127)
if((character >= 32 && character != 127) || character == '\n' || character == '\r')
{
WM_Event *event = w32_wm_push_event(WM_EventKind_Text, window);
if(lParam & bit29)