Rstudio eats on start prompts

Using RStudio Pro 2024.04.2 Build 764.pro1 on ubuntu.

If I have something in my Rprofile like readLines or utils::askYesNo and restart R, the text in the message is not displayed, but the console still accepts input. I see this happening with renv sometimes where it will do some onload action and be waiting for user input, and I won't realise.

Oddly doing something like having code

cat("let's put something into the console to try to force the prompt to appear")
value <- readline("Hello world")
cat(value)

Will print the first line, but the console will not display the prompt!

So I could sort of mimic what I want with something like:

message("Type something and it will be printed!")
value <- readline("This message will never be read. Lost in time, like tears in rain")
cat(value)

Still I think ideally Rstudio should display those prompts; particularly because this impacts existing packages like renv.