Skip to content

update for compatibility with modern imgui - #62

Open
jemand771 wants to merge 1 commit into
ggerganov:masterfrom
jemand771:imgui-update
Open

jemand771 wants to merge 1 commit into
ggerganov:masterfrom
jemand771:imgui-update

Conversation

@jemand771

Copy link
Copy Markdown

KeysDown and KeyMap have been removed in version 1.91.5

I haven't tested it at all (other than seeing if the library builds) and also don't really know how to.

I'm updating imgui in nixpkgs, a large package repository, and imtui was one of the newly failing builds with imgui 1.92.6

`KeysDown` and `KeyMap` have been removed in version 1.91.5
//printf("c = %d, c0 = %d, c1 = %d xxx\n", c, input[0], input[1]);
if (c < 127) {
if (c != ImGui::GetIO().KeyMap[ImGuiKey_Enter]) {
if (c != '\n') {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am very unsure about this line specifically. I may be misunderstanding what it does

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant