mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-23 06:12:22 -08:00
cleanup around single vs. multiline text mutation controls
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user