Text box in Meta Hub: Return key doesn't insert newline (macOS)

I’m on macOS Sonoma 14.6.1, using VCV Rack free 2.5.2.

When I go to paste text containing newline characters, it works as expected, but when I try to insert a newline character with the Return key, nothing happens.