Skip to content

Commit

Permalink
Prepare release v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ZmotriN committed May 2, 2024
1 parent f8c19a5 commit 4746a3c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 0 additions & 3 deletions wcli.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4746a3c

Please sign in to comment.