Show More
@@ -546,7 +546,11 b' def _gui():' | |||
|
546 | 546 | # pure build; use a safe default |
|
547 | 547 | return True |
|
548 | 548 | else: |
|
549 | return pycompat.iswindows or encoding.environ.get(b"DISPLAY") | |
|
549 | return ( | |
|
550 | pycompat.iswindows | |
|
551 | or encoding.environ.get(b"DISPLAY") | |
|
552 | or encoding.environ.get(b"WAYLAND_DISPLAY") | |
|
553 | ) | |
|
550 | 554 | |
|
551 | 555 | |
|
552 | 556 | def gui(): |
General Comments 0
You need to be logged in to leave comments.
Login now