[NEWS] ncstrwidth takeover

pull/2388/head
nick black 3 years ago
parent 80bff7a687
commit 369602196b
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -26,6 +26,9 @@ rearrangements of Notcurses.
origin coordinates. All now interpret their `unsigned` argument as
lengths rather than closing coordinates, observing the same semantics as
outlined above.
* `ncstrwidth_valid()`, introduced in 2.4.1, has replaced `ncstrwidth()`
entirely, and been renamed to reflect this. For the old behavior,
simply add two `NULL`s to your `ncstrwidth()` invocations.
* `ncplayer` now defaults to pixel blitting.
* `NCKEY_SIGNAL` is no longer a synonym for `NCKEY_RESIZE`, but instead
indicates receipt of `SIGCONT`.

@ -41,7 +41,7 @@ python_ncstrwidth(PyObject *Py_UNUSED(self), PyObject *args)
GNU_PY_CHECK_BOOL(PyArg_ParseTuple(args, "s", &s, NULL, NULL));
return Py_BuildValue("i", ncstrwidth(s));
return Py_BuildValue("i", ncstrwidth(s, NULL, NULL));
}
PyMethodDef MiscFunctions[] = {

Loading…
Cancel
Save