From 28ca7f483b1f74184e109a8da3a5afcb3c815097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Cs=C3=A1rdi?= Date: Thu, 4 Jun 2026 14:33:49 +0200 Subject: [PATCH] Correctly detect ANSI tty support in new (dev) RStudio Closes #823. --- R/aab-rstudio-detect.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/aab-rstudio-detect.R b/R/aab-rstudio-detect.R index b5ba3089..3eca662e 100644 --- a/R/aab-rstudio-detect.R +++ b/R/aab-rstudio-detect.R @@ -224,7 +224,7 @@ rstudio <- local({ list( type = "rstudio_console", dynamic_tty = TRUE, - ansi_tty = FALSE, + ansi_tty = data$ver >= "2026.06", ansi_color = data$envs[["RSTUDIO_CONSOLE_COLOR"]] != "", num_colors = as.integer(data$envs[["RSTUDIO_CONSOLE_COLOR"]]), hyperlink = data$envs[["RSTUDIO_CLI_HYPERLINKS"]] != "",