wrong env var

This commit is contained in:
Will McGugan
2023-01-25 13:28:37 +01:00
parent 9caf0cf536
commit 15af0cd2c6

View File

@@ -146,7 +146,7 @@ class LinuxDriver(Driver):
self._enable_bracketed_paste()
def _request_terminal_sync_mode_support(self):
if self.console._environ.get("TERM", "") != "iTerm.app":
if self.console._environ.get("TERM_PROGRAM", "") != "Apple_Terminal":
self.console.file.write("\033[?2026$p")
self.console.file.flush()