equal
deleted
inserted
replaced
1 --- Python-2.7.3/Modules/_cursesmodule.c.orig 2012-09-27 10:17:54.934886883 -0700 |
1 This patch adds wget_wch support to the curses module. It may be contributed |
2 +++ Python-2.7.3/Modules/_cursesmodule.c 2012-09-27 10:21:19.861160806 -0700 |
2 upstream at some point, but the suitability (or lack thereof) has not yet |
|
3 been determined. |
|
4 |
|
5 --- Python-2.7.6/Modules/_cursesmodule.c.~1~ 2013-11-09 23:36:41.000000000 -0800 |
|
6 +++ Python-2.7.6/Modules/_cursesmodule.c 2014-05-14 13:36:59.388642793 -0700 |
3 @@ -861,6 +861,37 @@ |
7 @@ -861,6 +861,37 @@ |
4 } |
8 } |
5 |
9 |
6 static PyObject * |
10 static PyObject * |
7 +PyCursesWindow_Get_WCh(PyCursesWindowObject *self, PyObject *args) |
11 +PyCursesWindow_Get_WCh(PyCursesWindowObject *self, PyObject *args) |
36 + |
40 + |
37 +static PyObject * |
41 +static PyObject * |
38 PyCursesWindow_GetKey(PyCursesWindowObject *self, PyObject *args) |
42 PyCursesWindow_GetKey(PyCursesWindowObject *self, PyObject *args) |
39 { |
43 { |
40 int x, y; |
44 int x, y; |
41 @@ -1570,6 +1601,7 @@ |
45 @@ -1572,6 +1603,7 @@ |
42 {"getbegyx", (PyCFunction)PyCursesWindow_getbegyx, METH_NOARGS}, |
46 {"getbegyx", (PyCFunction)PyCursesWindow_getbegyx, METH_NOARGS}, |
43 {"getbkgd", (PyCFunction)PyCursesWindow_GetBkgd, METH_NOARGS}, |
47 {"getbkgd", (PyCFunction)PyCursesWindow_GetBkgd, METH_NOARGS}, |
44 {"getch", (PyCFunction)PyCursesWindow_GetCh, METH_VARARGS}, |
48 {"getch", (PyCFunction)PyCursesWindow_GetCh, METH_VARARGS}, |
45 + {"get_wch", (PyCFunction)PyCursesWindow_Get_WCh, METH_VARARGS}, |
49 + {"get_wch", (PyCFunction)PyCursesWindow_Get_WCh, METH_VARARGS}, |
46 {"getkey", (PyCFunction)PyCursesWindow_GetKey, METH_VARARGS}, |
50 {"getkey", (PyCFunction)PyCursesWindow_GetKey, METH_VARARGS}, |