You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: is-legacy-terminal/docs/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ import is_legacy_terminal
45
45
if is_legacy_terminal():
46
46
print('Is legacy terminal!')
47
47
else:
48
-
print('Is not legacy terminal!')
48
+
print('Is modern terminal!')
49
49
```
50
50
51
51
_Note: Most type checkers will falsely warn_`is_legacy_terminal`_is not a callable module because they are incapable of analyzing runtime behavior (where the module is replaced w/ a function for cleaner, direct access). You can safely suppress such warnings using_`# type: ignore`.
0 commit comments