mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
[NEWS] ncstrwidth takeover
This commit is contained in:
parent
80bff7a687
commit
369602196b
3
NEWS.md
3
NEWS.md
@ -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…
x
Reference in New Issue
Block a user