aboutsummaryrefslogtreecommitdiff
path: root/nk_pugl/nk_pugl.h
diff options
context:
space:
mode:
Diffstat (limited to 'nk_pugl/nk_pugl.h')
-rw-r--r--nk_pugl/nk_pugl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nk_pugl/nk_pugl.h b/nk_pugl/nk_pugl.h
index 0c67581..94961a9 100644
--- a/nk_pugl/nk_pugl.h
+++ b/nk_pugl/nk_pugl.h
@@ -477,6 +477,9 @@ _nk_pugl_other_key(struct nk_context *ctx, const PuglEventKey *ev, int down)
nk_input_key(ctx, NK_KEY_TEXT_LINE_END, down);
} break;
}
+
+ if(down)
+ nk_input_char(ctx, ev->character + 96);
}
else // !control
{