fix delete button on linux

This commit is contained in:
Daniel Ribeiro Maciel
2026-06-09 15:11:42 -07:00
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;