Commit Graph
6 Commits
Author SHA1 Message Date
Kovid Goyal 88bd3ee9ca New SGR codes to turn off bold/dim independently
Allows for robust patching of formatting into already formatted
text. Without this it is not possible to turn off bold without
affecting existing dim and vice versa.
2023-03-27 07:53:55 +05:30
Kovid Goyal 4a4500d56b Dont make urls part of styling, instead have a dedicated UrlFunc API
Since urls can potentially change a lot, caching them makes no sense
2022-11-14 15:41:53 +05:30
Kovid Goyal be22f49012 Fix usage of numbered colors for underlines 2022-11-14 15:41:53 +05:30
Kovid Goyal f9695a7947 Add url support to styling 2022-11-14 15:41:53 +05:30
Kovid Goyal 29d9b70f0c More ansi styling tests 2022-11-14 15:41:53 +05:30
Kovid Goyal 42a8ca0842 Write some tests for the style wrapper 2022-11-14 15:41:53 +05:30