mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-07 17:43:53 +02:00
Remove the buf_toggled callback
This commit is contained in:
@@ -419,7 +419,7 @@ screen_toggle_screen_buffer(Screen *self) {
|
||||
self->tabstops = self->main_tabstops;
|
||||
screen_restore_cursor(self);
|
||||
}
|
||||
CALLBACK("buf_toggled", "O", self->linebuf == self->main_linebuf ? Py_True : Py_False);
|
||||
screen_history_scroll(self, SCROLL_FULL, false);
|
||||
self->is_dirty = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -214,8 +214,6 @@ class Window:
|
||||
def request_capabilities(self, q):
|
||||
self.write_to_child(get_capabilities(q))
|
||||
|
||||
def buf_toggled(self, is_main_linebuf):
|
||||
self.screen.scroll(SCROLL_FULL, False)
|
||||
# }}}
|
||||
|
||||
def text_for_selection(self):
|
||||
|
||||
Reference in New Issue
Block a user