Merge pull request #911 from jack1142/patch-1

Use `>` as line pointer when `legacy_windows` option is enabled
This commit is contained in:
Will McGugan 2021-01-13 16:51:23 +00:00 committed by GitHub
commit 03616429c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ class Syntax(JupyterMixin):
padding = _Segment(" " * numbers_column_width + " ", background_style)
new_line = _Segment("\n")
line_pointer = ""
line_pointer = "> " if options.legacy_windows else ""
for line_no, line in enumerate(lines, self.start_line + line_offset):
if self.word_wrap: