[drone] use new debian builder, set USE_GPM=on

pull/2331/head
nick black 3 years ago
parent f4f1d74dd1
commit b0acd369c8
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -5,13 +5,13 @@ name: debian-unstable
steps:
- name: debian-build
image: dankamongmen/unstable_builder:2021-08-19a
image: dankamongmen/unstable_builder:2021-11-06a
commands:
- export LANG=en_US.UTF-8
- export TERM=xterm
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_QRCODEGEN=on
- cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_GPM=on -DUSE_QRCODEGEN=on
- make -j2
- ./notcurses-info
- ctest --output-on-failure

@ -210,15 +210,15 @@ Notcurses_getc_blocking(NotcursesObject *Py_UNUSED(self), PyObject *Py_UNUSED(ar
}
static PyObject *
Notcurses_mouse_enable(NotcursesObject *self, PyObject *Py_UNUSED(args))
Notcurses_mice_enable(NotcursesObject *self, PyObject *Py_UNUSED(args))
{
CHECK_NOTCURSES(notcurses_mouse_enable(self->notcurses_ptr));
CHECK_NOTCURSES(notcurses_mice_enable(self->notcurses_ptr, NCMICE_BUTTON_EVENT));
Py_RETURN_NONE;
}
static PyObject *
Notcurses_mouse_disable(NotcursesObject *self, PyObject *Py_UNUSED(args))
Notcurses_mice_disable(NotcursesObject *self, PyObject *Py_UNUSED(args))
{
CHECK_NOTCURSES(notcurses_mouse_disable(self->notcurses_ptr));
CHECK_NOTCURSES(notcurses_mice_disable(self->notcurses_ptr));
Py_RETURN_NONE;
}
@ -444,8 +444,8 @@ static PyMethodDef Notcurses_methods[] = {
{"getc_nblock", (PyCFunction)Notcurses_getc_nblock, METH_NOARGS, "Get input event without blocking. If no event is ready, returns None."},
{"getc_blocking", (PyCFunction)Notcurses_getc_blocking, METH_NOARGS, "Get input event completely blocking until and event or signal received."},
{"mouse_enable", (PyCFunction)Notcurses_mouse_enable, METH_NOARGS, "Enable the mouse in \"button-event tracking\" mode with focus detection and UTF8-style extended coordinates. On success mouse events will be published to getc()"},
{"mouse_disable", (PyCFunction)Notcurses_mouse_disable, METH_NOARGS, "Disable mouse events. Any events in the input queue can still be delivered."},
{"mice_enable", (PyCFunction)Notcurses_mice_enable, METH_NOARGS, "Enable the mouse in \"button-event tracking\" mode with focus detection and UTF8-style extended coordinates. On success mouse events will be published to getc()"},
{"mice_disable", (PyCFunction)Notcurses_mice_disable, METH_NOARGS, "Disable mouse events. Any events in the input queue can still be delivered."},
{"linesigs_disable", (PyCFunction)Notcurses_linesigs_disable, METH_NOARGS, "Disable signals originating from the terminal's line discipline, i.e. SIGINT (^C), SIGQUIT (^\\), and SIGTSTP (^Z). They are enabled by default."},
{"linesigs_enable", (PyCFunction)Notcurses_linesigs_enable, METH_NOARGS, "Restore signals originating from the terminal's line discipline, i.e. SIGINT (^C), SIGQUIT (^\\), and SIGTSTP (^Z), if disabled."},

Loading…
Cancel
Save