We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2fd852 commit 8c0bf18Copy full SHA for 8c0bf18
1 file changed
src/_pytask/console.py
@@ -4,8 +4,6 @@
4
5
import functools
6
import inspect
7
-import os
8
-import sys
9
from contextlib import suppress
10
from pathlib import Path
11
from typing import TYPE_CHECKING
@@ -54,13 +52,6 @@
54
52
]
55
53
56
57
-_IS_WINDOWS_TERMINAL = "WT_SESSION" in os.environ
58
-_IS_WINDOWS = sys.platform == "win32"
59
-
60
61
-_IS_LEGACY_WINDOWS = _IS_WINDOWS and not _IS_WINDOWS_TERMINAL
62
63
64
_HORIZONTAL_PADDING = (0, 1, 0, 1)
65
66
@@ -70,10 +61,10 @@
70
71
"""
72
73
-ARROW_DOWN_ICON = "|" if _IS_LEGACY_WINDOWS else "⬇"
74
-FILE_ICON = "" if _IS_LEGACY_WINDOWS else "📄 "
75
-PYTHON_ICON = "" if _IS_LEGACY_WINDOWS else "🐍 "
76
-TASK_ICON = "" if _IS_LEGACY_WINDOWS else "📝 "
+ARROW_DOWN_ICON = "⬇"
+FILE_ICON = "📄 "
+PYTHON_ICON = "🐍 "
67
+TASK_ICON = "📝 "
77
68
78
69
79
_EDITOR_URL_SCHEMES: dict[str, str] = {
0 commit comments