mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-04 06:00:30 +00:00
Windows: kill last warnings #2062
This commit is contained in:
parent
6d72fedca9
commit
2feab02759
@ -443,6 +443,8 @@ handle_getc(ncinputlayer* nc, int kpress, ncinput* ni, int leftmargin, int topma
|
||||
static int
|
||||
block_on_input(int fd, const struct timespec* ts){
|
||||
#ifdef __MINGW64__
|
||||
(void)fd;
|
||||
// FIXME pull cached value out of tinfo
|
||||
HANDLE in = GetStdHandle(STD_INPUT_HANDLE);
|
||||
if(in == INVALID_HANDLE_VALUE){
|
||||
return -1;
|
||||
|
@ -28,7 +28,7 @@ defaultout(void){
|
||||
for(int i = 0 ; i < 128 ; ++i){
|
||||
wchar_t w = i;
|
||||
int width = wcwidth(w);
|
||||
printf("0x%02x: %d%c\t", i, width, width < 0 ? '!' : ' ');
|
||||
printf("0x%02x: %d%c\t", w, width, width < 0 ? '!' : ' ');
|
||||
if(i % 4 == 3){
|
||||
printf("\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user