We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9393f60 commit c9a32b5Copy full SHA for c9a32b5
R/read_translation.R
@@ -83,7 +83,7 @@ set_prompt_conn <- function() {
83
}
84
85
unset_prompt_conn <- function() {
86
- if (exists("prompt_conn", envir=.potools) && inherits(.potools$prompt_conn, "terminal"))
+ if (exists("prompt_conn", envir=.potools) && !inherits(.potools$prompt_conn, "terminal"))
87
close(.potools$prompt_conn)
88
invisible()
89
0 commit comments