Skip to content

Commit

Permalink
Update datalad/ui/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Yaroslav Halchenko <[email protected]>
  • Loading branch information
christian-monch and yarikoptic authored Apr 17, 2024
1 parent 0de9234 commit 318c78f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datalad/ui/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ def can_prompt() -> bool:
On Linux this method checks for a controlling terminal.
On Windows it always returns True.
Unlike :func:`datalad.utils.is_interactive` it does not check all the streams to be a tty,
and just tries to open `/dev/tty` directly.
"""
if on_windows:
return True
Expand Down

0 comments on commit 318c78f

Please sign in to comment.