mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 18:18:22 +00:00
replace is_control with list of control codes
This commit is contained in:
parent
6f972a059a
commit
a998f23084
14 changed files with 188 additions and 156 deletions
|
@ -70,6 +70,7 @@ highlight_tests = [
|
|||
('"hello"', [Span(0, 7, "repr.str")]),
|
||||
('"""hello"""', [Span(0, 11, "repr.str")]),
|
||||
("\\'foo'", []),
|
||||
("it's no 'string'", [Span(8, 16, "repr.str")]),
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue