Fix unicode glyphs
This commit is contained in:
@@ -25,16 +25,16 @@ class TreeList implements Countable, IteratorAggregate
|
||||
/** @var array<string,Entry> */
|
||||
public array $list = [];
|
||||
|
||||
private const TREE_FOLD_OPEN = "\u{f0fe}";
|
||||
private const TREE_FOLD_CLOSE = "\u{f146}";
|
||||
private const TREE_FOLD_OPEN = "\u{25b8}";
|
||||
private const TREE_FOLD_CLOSE = "\u{25be}";
|
||||
private const TREE_INDENT_GUIDE = "\u{258e} ";
|
||||
private const TREE_INDENT = " ";
|
||||
|
||||
private const ICON_NUMERIC = "\u{f89f}";
|
||||
private const ICON_STRING = "\u{f10e}";
|
||||
private const ICON_BOOL_TRUE = "\u{f657}";
|
||||
private const ICON_BOOL_FALSE = "\u{f630}";
|
||||
private const ICON_NULL = "\u{f141}";
|
||||
private const ICON_NUMERIC = "\u{2960}";
|
||||
private const ICON_STRING = "\u{275e}";
|
||||
private const ICON_BOOL_TRUE = "\u{2611}";
|
||||
private const ICON_BOOL_FALSE = "\u{2610}";
|
||||
private const ICON_NULL = "\u{2609}";
|
||||
|
||||
public array $searchResults = [];
|
||||
|
||||
@@ -227,7 +227,7 @@ class TreeList implements Countable, IteratorAggregate
|
||||
}
|
||||
echo (is_int($entry->key)
|
||||
?(Settings::$highlightIndices
|
||||
?"\e[{$keyStyle};2m\u{e0b6}\e[7m#{$entry->key}\e[27m\u{e0b4}\e[22;37m "
|
||||
?"\e[{$keyStyle};2m[\e[7m#{$entry->key}\e[27m]\e[22;37m "
|
||||
:"\e[{$keyStyle};2m#{$entry->key}\e[22;37m "
|
||||
)
|
||||
:(Settings::$editorQuotedKeys
|
||||
|
||||
Reference in New Issue
Block a user