We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 773e478 commit 327c63bCopy full SHA for 327c63b
src/nocurses.h
@@ -173,7 +173,7 @@ static struct termsize gettermsize(){
173
static int getch(){
174
#ifdef _WIN32
175
HANDLE input = GetStdHandle(STD_INPUT_HANDLE);
176
- if (h == NULL) return EOF;
+ if (input == NULL) return EOF;
177
178
DWORD oldmode;
179
GetConsoleMode(input, &oldmode);
src/notify_capi.h
@@ -4,7 +4,7 @@
4
#define NOTIFY_CAPI_ID_STRING "_capi_notify"
5
#define NOTIFY_CAPI_VERSION_MAJOR 0
6
#define NOTIFY_CAPI_VERSION_MINOR 0
7
-#define NOTIFY_CAPI_VERSION_PATCH 1
+#define NOTIFY_CAPI_VERSION_PATCH 2
8
9
#ifndef NOTIFY_CAPI_IMPLEMENT_SET_CAPI
10
# define NOTIFY_CAPI_IMPLEMENT_SET_CAPI 0
0 commit comments