From a1dd33912f71a6e1de6923be03dbe774fcc517dc Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Tue, 14 Dec 2021 21:48:37 +0000 Subject: [PATCH] formatting --- rich/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rich/text.py b/rich/text.py index 3cdd58d4..7606d6c4 100644 --- a/rich/text.py +++ b/rich/text.py @@ -1079,7 +1079,7 @@ class Text(JupyterMixin): start_line_no = (lower_bound + upper_bound) // 2 end_line_no = lower_bound = start_line_no - upper_bound = line_count + upper_bound = line_count while True: line_start, line_end = line_ranges[end_line_no]