mirror of https://github.com/Textualize/rich.git
Merge pull request #911 from jack1142/patch-1
Use `>` as line pointer when `legacy_windows` option is enabled
This commit is contained in:
commit
03616429c7
|
@ -480,7 +480,7 @@ class Syntax(JupyterMixin):
|
||||||
padding = _Segment(" " * numbers_column_width + " ", background_style)
|
padding = _Segment(" " * numbers_column_width + " ", background_style)
|
||||||
new_line = _Segment("\n")
|
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):
|
for line_no, line in enumerate(lines, self.start_line + line_offset):
|
||||||
if self.word_wrap:
|
if self.word_wrap:
|
||||||
|
|
Loading…
Reference in New Issue