mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-16 05:24:20 +02:00
oops
This commit is contained in:
@@ -199,6 +199,7 @@ copy_line_to(LineBuf *self, PyObject *args) {
|
||||
static inline void
|
||||
clear_line_(Line *l, index_type xnum) {
|
||||
memset(l->cells, 0, xnum * sizeof(Cell));
|
||||
clear_chars_in_line(l->cells, xnum, BLANK_CHAR);
|
||||
}
|
||||
|
||||
void linebuf_clear_line(LineBuf *self, index_type y) {
|
||||
|
||||
@@ -503,7 +503,7 @@ copy_char(Line* self, PyObject *args) {
|
||||
PyErr_SetString(PyExc_ValueError, "Out of bounds");
|
||||
return NULL;
|
||||
}
|
||||
copy_line(self, to);
|
||||
COPY_CELL(self, src, to, dest);
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user