From 6820c1a916810bc762fcde1e67b5dd56273a26aa Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Tue, 12 Jan 2021 14:58:01 +0100 Subject: [PATCH] Use `>` as line pointer when `legacy_windows` option is enabled --- rich/syntax.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rich/syntax.py b/rich/syntax.py index 5485fd37..1f9e0421 100644 --- a/rich/syntax.py +++ b/rich/syntax.py @@ -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: