1
1
mirror of https://github.com/walles/moar.git synced 2024-11-22 11:45:50 +03:00
Commit Graph

18 Commits

Author SHA1 Message Date
Johan Walles
d9b3e16e00 Render underline color changes 2024-08-12 20:44:40 +02:00
Johan Walles
2c9f16fa2a Add underline color support to Style 2024-08-12 20:39:48 +02:00
Johan Walles
43f17ebe7b Remove no-longer-needed code 2024-08-12 20:31:11 +02:00
Johan Walles
42b0bc7e25 Improve naming 2024-08-12 18:36:49 +02:00
Johan Walles
ff74c2d27c Handle warnings in twin 2024-01-01 13:39:30 +01:00
Johan Walles
e80c60439b Revert "Merge branch 'johan/ui-colors-from-chroma'"
This reverts commit ed491742a1, reversing
changes made to 12f316f8c8.

Before this goes in, we should first auto detect bright vs dark terminal
background and default to different themes in those two cases: #67
2023-12-28 18:42:04 +01:00
Johan Walles
22885dc4b0 Test looping over all styles' background colors 2023-12-20 16:15:29 +01:00
Johan Walles
d13e9d4994 Improve naming 2023-12-20 14:59:55 +01:00
Johan Walles
eaab95e3ef Inform ansiString() about terminal color count
So that it can downsample colors when needed.
2023-12-17 16:34:34 +01:00
johan.walles@gmail.com
14c2351e53 Reset hyperlinks properly to unstyled
Before this change, if you had a hyperlink followed by unstyled text,
moar wouldn't reset the hyperlink property, messing up everything after
it.

With this change in place, that now works as one would expect.

Fixes #169.
2023-12-13 09:26:50 +01:00
Johan Walles
a082fe207e Use the correct style for the trailer 2023-10-10 06:16:09 +02:00
Johan Walles
cd95996e8e Shortcut common style changes 2023-10-09 19:45:43 +02:00
Johan Walles
5ea3e61e8c Improve test diagnostics 2023-05-03 19:45:04 +02:00
Johan Walles
6f8fc89f2e Improve parsing
But it still doesn't work.
2023-05-03 19:07:32 +02:00
Johan Walles
dc0fe53366 Don't repeat the same hyperlink 2023-05-02 06:30:09 +02:00
Johan Walles
a4da40ff8c Add rendering support for terminal hyperlinks 2023-05-01 15:56:08 +02:00
Steven Penny
f76fd6ddd3 Simplify StyleDefault definition
StyleDefault is all zero values, so we can simplify the definition. If that
changes in the future (not likely) we can go back to the old definition method.

Fixes #57
2021-05-11 08:14:15 -05:00
Johan Walles
44a064c024 Write tcell replacement
Fixes #37 and fixes #34.
2021-04-17 22:24:40 +02:00