mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-08 01:10:23 +00:00
[notcurses-input] cast to wint_t
This commit is contained in:
parent
0383afdff8
commit
3cfb3adf1a
@ -330,7 +330,7 @@ int input_demo(ncpp::NotCurses* nc) {
|
||||
if(r < 0x80){
|
||||
n->set_fg_rgb8(128, 250, 64);
|
||||
if(n->printf("ASCII: [0x%02x (%03d)] '%lc'", r, r,
|
||||
(wchar_t)(iswprint(r) ? r : printutf8(r))) < 0){
|
||||
(wint_t)(iswprint(r) ? r : printutf8(r))) < 0){
|
||||
break;
|
||||
}
|
||||
}else{
|
||||
|
Loading…
Reference in New Issue
Block a user