mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
fix up indexing for NCBLIT_8x1 plotter #1912
This commit is contained in:
parent
2441a31766
commit
bfca06264a
4
NEWS.md
4
NEWS.md
@ -2,8 +2,8 @@ This document attempts to list user-visible changes and any major internal
|
||||
rearrangements of Notcurses.
|
||||
|
||||
* 2.3.9 (not yet released)
|
||||
* Fixed two major regressions in 2.3.8: menu highlighting is working once
|
||||
more, as are pointer inputs (mice). Sorry about that!
|
||||
* Fixed major regressions from 2.3.8: menu highlighting is working once
|
||||
more, as are pointer inputs (mice) and the 8x1 plotter. Sorry about that!
|
||||
* `notcurses_detected_terminal()` and `ncdirect_detected_terminal()` now
|
||||
both return a heap-allocated string, which will contain the terminal
|
||||
version if Notcurses was able to detect it. This result ought be free()d.
|
||||
|
@ -49,8 +49,8 @@ extern "C" {
|
||||
#define NCANGLESTR L"🭒🭓🭔🭕🭖🭧🭢🭣🭤🭥🭦"
|
||||
#define NCANGLESBL L"🭌🭍🭎🭏🭐🭑🬼🬽🬾🬿🭀"
|
||||
#define NCANGLESTL L"🭝🭞🭟🭠🭡🭜🭗🭘🭙🭚🭛"
|
||||
#define NCEIGHTHSB L"▁▂▃▄▅▆▇█"
|
||||
#define NCEIGHTHST L"▔🮂🮃▀🮄🮅🮆█"
|
||||
#define NCEIGHTHSB L" ▁▂▃▄▅▆▇█"
|
||||
#define NCEIGHTHST L" ▔🮂🮃▀🮄🮅🮆█"
|
||||
#define NCEIGHTHSL L"▏▎▍▌▋▊▉█"
|
||||
#define NCEIGHTHSR L"▕🮇🮈▐🮉🮊🮋█"
|
||||
#define NCHALFBLOCKS L" ▀▄█"
|
||||
|
@ -112,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 🭨🭪 %.30ls ⎛%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 🭨🭪 %.30ls ⎛%ls ⎞",
|
||||
indent,
|
||||
NCANGLESBR[0], NCANGLESBL[0],
|
||||
NCANGLESBR[1], NCANGLESBL[1],
|
||||
@ -127,7 +127,7 @@ unicodedumper(struct ncplane* n, tinfo* ti, const char* indent){
|
||||
NCANGLESBR[10], NCANGLESBL[10],
|
||||
NCDIGITSSUBW, 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 🭪🭨 %.30ls ⎝%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 🭪🭨 %.30ls ⎝%ls ⎠",
|
||||
indent,
|
||||
NCANGLESTR[0], NCANGLESTL[0],
|
||||
NCANGLESTR[1], NCANGLESTL[1],
|
||||
|
Loading…
x
Reference in New Issue
Block a user