Skip to content

Commit 71fcfb8

Browse files
committed
Corrected is_legacy_terminal condition
1 parent b00dfa4 commit 71fcfb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • is-unicode-supported/src/is_unicode_supported

is-unicode-supported/src/is_unicode_supported/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def is_unicode_supported() -> bool:
66
if hasattr(is_unicode_supported, '_cached'):
77
return is_unicode_supported._cached
88

9-
if not is_legacy_terminal(): # type: ignore
9+
if is_legacy_terminal(): # type: ignore
1010
is_unicode_supported._cached = False
1111
return False # legacy terminals don't suport wide chars
1212

0 commit comments

Comments
 (0)