mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 09:39:03 -04:00
grid looks better before mojibake #1012
This commit is contained in:
parent
592d7e76ae
commit
94aa8f08f1
@ -74,7 +74,7 @@ At any time, press 'q' to quit. The demo is best run in at least an 80x45 termin
|
|||||||
**-V**: Print the program name and version, and exit with success.
|
**-V**: Print the program name and version, and exit with success.
|
||||||
|
|
||||||
demospec: Select which demos to run, and what order to run them in. The
|
demospec: Select which demos to run, and what order to run them in. The
|
||||||
default is **ixezcydthnbmgarwuvlsfjqo**. See above for a list of demos.
|
default is **ixezcydthnbgmarwuvlsfjqo**. See above for a list of demos.
|
||||||
|
|
||||||
Default margins are all 0, and thus the full screen will be rendered. Using
|
Default margins are all 0, and thus the full screen will be rendered. Using
|
||||||
**-m**, margins can be supplied. Provide a single number to set all four margins
|
**-m**, margins can be supplied. Provide a single number to set all four margins
|
||||||
|
@ -20,7 +20,7 @@ static int democount;
|
|||||||
static demoresult* results;
|
static demoresult* results;
|
||||||
static char *datadir = NOTCURSES_SHARE;
|
static char *datadir = NOTCURSES_SHARE;
|
||||||
|
|
||||||
static const char DEFAULT_DEMO[] = "ixezcydthnbmgarwuvlsfjqo";
|
static const char DEFAULT_DEMO[] = "ixezcydthnbgmarwuvlsfjqo";
|
||||||
|
|
||||||
atomic_bool interrupted = ATOMIC_VAR_INIT(false);
|
atomic_bool interrupted = ATOMIC_VAR_INIT(false);
|
||||||
// checked following demos, whether aborted, failed, or otherwise
|
// checked following demos, whether aborted, failed, or otherwise
|
||||||
|
@ -254,8 +254,6 @@ int grid_demo(struct notcurses* nc){
|
|||||||
cell cl, cc, cr;
|
cell cl, cc, cr;
|
||||||
prep_cells(n, &ul, &uc, &ur, &cl, &cc, &cr, &ll, &lc, &lr);
|
prep_cells(n, &ul, &uc, &ur, &cl, &cc, &cr, &ll, &lc, &lr);
|
||||||
|
|
||||||
// notcurses_debug(nc, stderr);
|
|
||||||
|
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
for(int i = 0 ; i < 256 ; ++i){
|
for(int i = 0 ; i < 256 ; ++i){
|
||||||
int maxx, maxy;
|
int maxx, maxy;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user