mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-14 17:28:07 +00:00
fix delete button on linux
This commit is contained in:
committed by
Ryan Fleury
parent
e047e84433
commit
972df1a467
@@ -542,7 +542,7 @@ wm_get_events(Arena *arena, B32 wait)
|
||||
for(U64 off = 0; off < text_size;)
|
||||
{
|
||||
UnicodeDecode decode = utf8_decode(text+off, text_size-off);
|
||||
if(decode.codepoint != 0 && (decode.codepoint >= 32 || decode.codepoint == '\t'))
|
||||
if(decode.codepoint != 0 && decode.codepoint != 127 && (decode.codepoint >= 32 || decode.codepoint == '\t'))
|
||||
{
|
||||
WM_Event *e = wm_event_list_push_new(arena, &evts, WM_EventKind_Text);
|
||||
e->window.u64[0] = (U64)window;
|
||||
|
||||
Reference in New Issue
Block a user