mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 12:42:25 +00:00
...
This commit is contained in:
parent
3e1dac97ad
commit
315595aa77
1 changed files with 2 additions and 1 deletions
|
|
@ -310,7 +310,8 @@ insert_lines(LineBuf *self, PyObject *args) {
|
|||
Py_RETURN_NONE;
|
||||
}
|
||||
|
||||
void linebuf_delete_lines(LineBuf *self, index_type num, index_type y, index_type bottom) {
|
||||
void
|
||||
linebuf_delete_lines(LineBuf *self, index_type num, index_type y, index_type bottom) {
|
||||
index_type i;
|
||||
index_type ylimit = bottom + 1;
|
||||
num = MIN(bottom + 1 - y, num);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue