mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
[normal] don't run without utf8
This commit is contained in:
parent
0760223fb5
commit
88a369e997
@ -148,6 +148,9 @@ offset(uint32_t* rgba, int y, int x, int dx){
|
||||
|
||||
// make a pixel array out from the center, blitting it as we go
|
||||
int normal_demo(struct notcurses* nc){
|
||||
if(!notcurses_canutf8(nc)){
|
||||
return 0;
|
||||
}
|
||||
int dy, dx;
|
||||
int r = -1;
|
||||
struct ncplane* nstd = notcurses_stddim_yx(nc, &dy, &dx);
|
||||
|
Loading…
x
Reference in New Issue
Block a user