File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change 4
4
5
5
import functools
6
6
import inspect
7
- import os
8
- import sys
9
7
from contextlib import suppress
10
8
from pathlib import Path
11
9
from typing import TYPE_CHECKING
54
52
]
55
53
56
54
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
55
_HORIZONTAL_PADDING = (0 , 1 , 0 , 1 )
65
56
66
57
70
61
71
62
"""
72
63
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 " 📝 "
64
+ ARROW_DOWN_ICON = "⬇"
65
+ FILE_ICON = "📄 "
66
+ PYTHON_ICON = "🐍 "
67
+ TASK_ICON = "📝 "
77
68
78
69
79
70
_EDITOR_URL_SCHEMES : dict [str , str ] = {
You can’t perform that action at this time.
0 commit comments