Skip to content

Commit

Permalink
turn off force for cli progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Oct 4, 2024
1 parent 4e5203f commit 191d6f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/map.R
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ print.mirai_map <- function(x, ...) {
.progress_cli <- compiler::compile(
quote(
if (i == 0L) cli::cli_progress_bar(type = NULL, total = xlen, auto_terminate = TRUE, .envir = .) else
if (i <= xlen) cli::cli_progress_update(force = TRUE, .envir = .)
if (i <= xlen) cli::cli_progress_update(.envir = .)
)
)

Expand Down

0 comments on commit 191d6f6

Please sign in to comment.