--- a/ui/win32/text.c Tue Oct 28 13:53:59 2025 +0100 +++ b/ui/win32/text.c Tue Oct 28 14:25:46 2025 +0100 @@ -44,10 +44,11 @@ int width = args->width >= 0 ? args->width : 100; - HWND hwnd = CreateWindow( + HWND hwnd = CreateWindowEx( + WS_EX_CLIENTEDGE, "EDIT", "", - WS_VISIBLE | WS_CHILD | WS_BORDER | ES_LEFT | ES_AUTOHSCROLL, + WS_VISIBLE | WS_CHILD | ES_LEFT | ES_AUTOHSCROLL, 0, 0, width, 25, parent, (HMENU)0,