cli: change link direction symbols

The symbols used for [inbound] and [outbound] are part of the [Supplementary
Multilingual Plane](smp) (or Plane 1). This set of symbols are not as well
supported by font sets, as discovered by many reports of the characters missing.

There are two other arrow characters: [south east] and [north east] that serve
the same style and are part of the [Basic Multilingual Plane](bmp) (or Plane 0).
This set of characters is more widely supported.

[inbound]: https://www.compart.com/en/unicode/U+1F866
[outbound]: https://www.compart.com/en/unicode/U+1F865
[smp]: https://en.wikipedia.org/wiki/Plane_(Unicode)#Supplementary_Multilingual_Plane
[bmp]: https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_Multilingual_Plane
[north east]: https://www.compart.com/en/unicode/U+2197
[south east]: https://www.compart.com/en/unicode/U+2198
This commit is contained in:
Fintan Halpenny 2025-07-02 11:10:09 +01:00
parent 84427a56b5
commit 76e00a34ea
1 changed files with 2 additions and 2 deletions

View File

@ -394,9 +394,9 @@ fn link_direction_label() -> term::Paint<String> {
} }
fn link_direction_inbound() -> term::Paint<String> { fn link_direction_inbound() -> term::Paint<String> {
term::format::yellow("🡦".to_string()) term::format::yellow("".to_string())
} }
fn link_direction_outbound() -> term::Paint<String> { fn link_direction_outbound() -> term::Paint<String> {
term::format::dim("🡥".to_string()) term::format::dim("".to_string())
} }