mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
Fix #2270
This commit is contained in:
parent
4dde98305e
commit
922d6b3b32
1 changed files with 1 additions and 1 deletions
|
|
@ -840,7 +840,7 @@ static PyObject*
|
|||
glfw_get_key_name(PyObject UNUSED *self, PyObject *args) {
|
||||
int key, native_key;
|
||||
if (!PyArg_ParseTuple(args, "ii", &key, &native_key)) return NULL;
|
||||
return Py_BuildValue("s", glfwGetKeyName(key, native_key));
|
||||
return Py_BuildValue("z", glfwGetKeyName(key, native_key));
|
||||
}
|
||||
|
||||
static PyObject*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue