From 32ade77dd5999e68dfeee40f492f8dda68da3bb9 Mon Sep 17 00:00:00 2001 From: nick black Date: Mon, 5 Jul 2021 12:01:22 -0400 Subject: [PATCH] more sequences, more notcures-info --- include/notcurses/ncseqs.h | 2 ++ src/info/main.c | 17 ++++++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/include/notcurses/ncseqs.h b/include/notcurses/ncseqs.h index e5ad1056d..aaacadfb1 100644 --- a/include/notcurses/ncseqs.h +++ b/include/notcurses/ncseqs.h @@ -26,6 +26,7 @@ extern "C" { #define NCCIRCULARARCSW L"◜◝◟◞" #define NCWHITETRIANGLESW L"◿◺◹◸" #define NCBLACKTRIANGLESW L"◢◣◥◤" +#define NCSHADETRIANGLESW L"🮞🮟🮝🮜" // 4-cycles around an exterior core #define NCBLACKARROWHEADSW L"⮝⮟⮜⮞" @@ -37,6 +38,7 @@ extern "C" { // 8-cycles around an exterior core #define NCARROWW L"⭡⭣⭠⭢⭧⭩⭦⭨" +#define NCDIAGONALSW L"🮣🮠🮡🮢🮤🮥🮦🮧" // symbols for legacy computing #define NCANGLESBR L"🭁🭂🭃🭄🭅🭆🭇🭈🭉🭊🭋" diff --git a/src/info/main.c b/src/info/main.c index 5ecb8ffc0..c99569c6f 100644 --- a/src/info/main.c +++ b/src/info/main.c @@ -60,30 +60,37 @@ unicodedumper(struct ncplane* n, tinfo* ti, const char* indent){ indent, NCQUADBLOCKS, NCSEXBLOCKS, NCEIGHTHSR[0], NCEIGHTHSL[0]); ncplane_putchar(n, '\n'); - ncplane_printf(n, "%s ⎩%ls⎭ \u00bc\u00bd\u00be\u2150\u2151\u2152\u2153\u2154\u2155\u2156\u215c\u215d\u215e\u215f\u2189 ⎪%lc%lc⎪", + ncplane_printf(n, "%s╲╿╱ ◨◧ ◪◩ ◖◗ ⎩%ls⎭ \u00bc\u00bd\u00be\u2150\u2151\u2152\u2153\u2154\u2155\u2156\u215c\u215d\u215e\u215f\u2189 ⎪%lc%lc⎪", indent, NCSEXBLOCKS + 32, NCEIGHTHSR[1], NCEIGHTHSL[1]); ncplane_putchar(n, '\n'); - ncplane_printf(n, "%s %.6ls %.6ls %.6ls %.6ls %.6ls %.6ls%.3ls %.6ls%.3ls %.6ls%.3ls %.6ls%.3ls %.8ls%.4ls ▵△▹▷▿▽◃◁ ⎪%lc%lc⎪", + ncplane_printf(n, "%s╾╳╼ %.6ls %.6ls %.8ls%.8ls %.6ls %.6ls %.8ls %.6ls %.6ls%.3ls %.6ls%.3ls %.6ls%.3ls %.6ls%.3ls %.8ls%.4ls ▵△▹▷▿▽◃◁%.32ls⎪%lc%lc⎪", indent, NCWHITESQUARESW, NCWHITECIRCLESW, + NCDIAGONALSW, + NCDIAGONALSW + 4, NCCIRCULARARCSW, NCWHITETRIANGLESW, + NCSHADETRIANGLESW, NCBLACKTRIANGLESW, NCBOXLIGHTW, NCBOXLIGHTW + 4, NCBOXHEAVYW, NCBOXHEAVYW + 4, NCBOXROUNDW, NCBOXROUNDW + 4, NCBOXDOUBLEW, NCBOXDOUBLEW + 4, NCBOXOUTERW, NCBOXOUTERW + 4, + NCARROWW, NCEIGHTHSR[2], NCEIGHTHSL[2]); ncplane_putchar(n, '\n'); - ncplane_printf(n, "%s %.6ls %.6ls %.6ls %.6ls %.6ls %.6ls%.3ls %.6ls%.3ls %.6ls%.3ls %.6ls%.3ls %.8ls%.4ls ▴⏶⯅▲▸⏵⯈▶▾⏷⯆▼◂⏴⯇◀ ⎪%lc%lc⎪", + ncplane_printf(n, "%s╱╽╲ %.6ls %.6ls %.8ls%.8ls %.6ls %.6ls %.8ls %.6ls %.6ls%.3ls %.6ls%.3ls %.6ls%.3ls %.6ls%.3ls %.8ls%.4ls ▴⏶⯅▲▸⏵⯈▶▾⏷⯆▼◂⏴⯇◀⎪%lc%lc⎪", indent, NCWHITESQUARESW + 2, NCWHITECIRCLESW + 2, + NCDIAGONALSW + 2, + NCDIAGONALSW + 6, NCCIRCULARARCSW + 2, NCWHITETRIANGLESW + 2, + NCSHADETRIANGLESW + 2, NCBLACKTRIANGLESW + 2, NCBOXLIGHTW + 2, NCBOXLIGHTW + 5, NCBOXHEAVYW + 2, NCBOXHEAVYW + 5, @@ -105,7 +112,7 @@ unicodedumper(struct ncplane* n, tinfo* ti, const char* indent){ ncplane_printf(n, "⎩%lc%lc⎭", NCEIGHTHSR[7], NCEIGHTHSL[7]); ncplane_putchar(n, '\n'); - ncplane_printf(n, "%s ▔🭶🭷🭸🭹🭺🭻▁ %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc 🭨🭪 ⎛%ls⎞", + ncplane_printf(n, "%s ▔🭶🭷🭸🭹🭺🭻▁ %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc 🭨🭪 ⎛%ls⎞", indent, NCANGLESBR[0], NCANGLESBL[0], NCANGLESBR[1], NCANGLESBL[1], @@ -120,7 +127,7 @@ unicodedumper(struct ncplane* n, tinfo* ti, const char* indent){ NCANGLESBR[10], NCANGLESBL[10], NCEIGHTHSB); ncplane_putchar(n, '\n'); - ncplane_printf(n, "%s ▏🭰🭱🭲🭳🭴🭵▕ %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc 🭪🭨 ⎝%ls⎠", + ncplane_printf(n, "%s ▏🭰🭱🭲🭳🭴🭵▕ %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc %lc%lc 🭪🭨 🯁🯂🯃 ⎝%ls⎠", indent, NCANGLESTR[0], NCANGLESTL[0], NCANGLESTR[1], NCANGLESTL[1],