terminal/src/cascadia/ut_app
Chester Liu 02b120236c
Add support for more OSC color formats (#7578)
* Correct the behaviour of parsing `rgb:R/G/B`. It should be interpreted
  as `RR/GG/BB` instead of `0R/0G/0B`
* Add support for `rgb:RRR/GGG/BBB` and `rgb:RRRR/GGGG/BBBB`. The
  behaviour of 12 bit variants is to repeat the first digit at the end,
  e.g. `rgb:123/456/789` becomes `rgb:1231/4564/7897`.
* Add support for `#` formats. We are following the rules of
  [XParseColor] by interpreting `#RGB` as `R000G000B000`.
* Add support for XOrg app color names, which are supported by xterm, VTE
  and many other terminal emulators.
* Multi-parameter OSC 4 is now supported.
* The chaining of OSC 10-12 is not yet supported. But the parameter
  validation is relaxed by parsing the parameters as multi-params but
  only use the first one, which means `\e]10;rgb:R/G/B;` and
  `\e]10:rgb:R/G/B;invalid` will execute `OSC 10` with the first color
  correctly. This fixes some of the issues mentioned in #942 but not
  all of them.

[XParseColor]: https://linux.die.net/man/3/xparsecolor

Closes #3715
2020-10-14 17:29:10 -07:00
..
ColorHelperTests.cpp Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
DynamicProfileTests.cpp Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
JsonTests.cpp Add support for more OSC color formats (#7578) 2020-10-14 17:29:10 -07:00
JsonUtilsTests.cpp Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
precomp.cpp Refactor TerminalApp and Add Tests for Xaml Content (#1164) 2019-07-15 14:27:56 -05:00
precomp.h Make Profile a WinRT object (#7283) 2020-08-28 01:09:22 +00:00
TerminalApp.Unit.Tests.AppxManifest.xml ci: run spell check in CI, fix remaining issues (#4799) 2020-03-25 11:02:53 -07:00
TerminalApp.Unit.Tests.manifest constexprs have to go into the headers or other usages can't find them. Imagine that. 2019-09-04 10:59:18 -07:00
TerminalApp.UnitTests.vcxproj Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
TestDynamicProfileGenerator.h Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00