Skip to content

Commit 3f5a75d

Browse files
Ah... managed to disable 'pbcol' in RStudio again [#100] [ci skip]
1 parent f5f83e7 commit 3f5a75d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/handler_pbcol.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ handler_pbcol <- function(adjust = 0.0, pad = 1L, complete = function(s) crayon:
3939

4040
redraw_progress_bar <- function(ratio, message, spin = " ") {
4141
stop_if_not(ratio >= 0, ratio <= 1)
42-
if (crayon_enabled && !is.null(getOption("crayon.enabled", NULL))) {
42+
if (crayon_enabled) {
4343
options(crayon.enabled = TRUE)
4444
on.exit(options(crayon.enabled = TRUE), add = TRUE)
4545
}

0 commit comments

Comments
 (0)