From 4746a3c08342dab7ec7d02ef8581d61791d37893 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20Larriv=C3=A9e-Roy?= Date: Thu, 2 May 2024 14:57:54 -0400 Subject: [PATCH] Prepare release v1.0.1 --- CHANGELOG.md | 10 +++++++++- wcli.c | 3 --- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e72e71b..c531912 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,18 @@ # Change Log - ## [Unreleased] - yyyy-mm-dd ### Added +### Changed + +### Fixed + + +## [1.0.1] - 2024-05-02 + +### Added + ### Changed - Change licence to MIT - wcli_get_key() use ReadConsoleInputExA instead of GetKeyState diff --git a/wcli.c b/wcli.c index 9b8bfd7..3c66e1f 100644 --- a/wcli.c +++ b/wcli.c @@ -68,10 +68,7 @@ PHP_RINIT_FUNCTION(wcli) GetConsoleScreenBufferInfo(WCLI_G(chnd), &WCLI_G(screen)); GetConsoleCursorInfo(WCLI_G(chnd), &WCLI_G(cursor)); GetCurrentConsoleFont(WCLI_G(chnd), FALSE, &WCLI_G(font)); - WCLI_G(ReadConsoleInputExA) = (WCLI_READ)GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")), "ReadConsoleInputExA"); - - flush_input_buffer(); } return SUCCESS;