1
0
mirror of https://github.com/nsnail/spectre.console.git synced 2025-04-25 12:42:51 +08:00

Merge pull request from phil-scott-78/emoji-perf

This commit is contained in:
Patrik Svensson 2024-11-21 00:30:24 +01:00 committed by GitHub
commit be45494d6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions
resources/scripts/Generator/Templates
src/Spectre.Console

@ -18,7 +18,7 @@ namespace Spectre.Console
public static partial class Emoji
{
private static readonly Dictionary<string, string> _emojis
= new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase)
= new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
{
{{~ for emoji in emojis ~}}
{ "{{ emoji.identifier }}", Emoji.Known.{{ emoji.name }} },

@ -18,7 +18,7 @@ namespace Spectre.Console
public static partial class Emoji
{
private static readonly Dictionary<string, string> _emojis
= new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase)
= new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
{
{ "abacus", Emoji.Known.Abacus },
{ "ab_button_blood_type", Emoji.Known.AbButtonBloodType },