Up arrow only returns final line of multiline command

In previous versions of RStudio, pressing the up arrow would return the last, entire multiline command sent to the console.

Now (for instance, in 2024.11.0 Build 302) the up arrow only returns the final line.

for instance, if I usedCTRL+ENTER after highlighting all the lines in this script

library(tidyverse)

mtcars %>% 
  ggplot(
    aes(
      wt, mpg
    )
  ) +
  geom_point()

and then use the up arrow, I would like the entire last command to be returned to the console, but instead, it only returns

geom_point()

how do I get the old behavior back?

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.