don't request sync on macOS app

This commit is contained in:
Will McGugan
2023-01-25 13:26:10 +01:00
parent a61e61f17b
commit 9caf0cf536

View File

@@ -146,8 +146,9 @@ class LinuxDriver(Driver):
self._enable_bracketed_paste()
def _request_terminal_sync_mode_support(self):
self.console.file.write("\033[?2026$p")
self.console.file.flush()
if self.console._environ.get("TERM", "") != "iTerm.app":
self.console.file.write("\033[?2026$p")
self.console.file.flush()
@classmethod
def _patch_lflag(cls, attrs: int) -> int: