We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68fcb95 commit d164877Copy full SHA for d164877
Lib/test/test_pyrepl/test_pyrepl.py
@@ -1899,6 +1899,13 @@ def test_no_newline(self):
1899
safe_patterns.append(r'\x1b\[\?25[hl]') # cursor visibility
1900
safe_patterns.append(r'\x1b\[\?12[hl]') # cursor blinking
1901
1902
+ # rmam - turn off automatic margins
1903
+ rmam = ti.get("rmam")
1904
+ if rmam:
1905
+ safe_patterns.append(re.escape(rmam.decode("ascii")))
1906
+ else:
1907
+ safe_patterns.append(r'\x1b\[\?7l')
1908
+
1909
# Modern extensions not in standard terminfo - always use patterns
1910
safe_patterns.append(r'\x1b\[\?2004[hl]') # bracketed paste mode
1911
safe_patterns.append(r'\x1b\[\?12[hl]') # cursor blinking (may be separate)
0 commit comments