mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 11:11:47 +02:00
@@ -87,6 +87,7 @@ new(PyTypeObject *type, PyObject *args, PyObject UNUSED *kwds) {
|
|||||||
Py_CLEAR(self); PyErr_Format(PyExc_RuntimeError, "Failed to create Screen write_buf_lock mutex: %s", strerror(ret));
|
Py_CLEAR(self); PyErr_Format(PyExc_RuntimeError, "Failed to create Screen write_buf_lock mutex: %s", strerror(ret));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
self->reload_all_gpu_data = true;
|
||||||
self->cell_size.width = cell_width; self->cell_size.height = cell_height;
|
self->cell_size.width = cell_width; self->cell_size.height = cell_height;
|
||||||
self->columns = columns; self->lines = lines;
|
self->columns = columns; self->lines = lines;
|
||||||
self->write_buf = PyMem_RawMalloc(BUFSIZ);
|
self->write_buf = PyMem_RawMalloc(BUFSIZ);
|
||||||
|
|||||||
Reference in New Issue
Block a user