Remove the buf_toggled callback
This commit is contained in:
parent
7b1576d960
commit
9cd146fe3e
@ -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):
|
||||
|
||||
@ -30,16 +30,12 @@ class Callbacks:
|
||||
def request_capabilities(self, q):
|
||||
self.qbuf += q
|
||||
|
||||
def buf_toggled(self, is_alt):
|
||||
self.is_alt = is_alt
|
||||
|
||||
def use_utf8(self, on):
|
||||
self.iutf8 = on
|
||||
|
||||
def clear(self):
|
||||
self.wtcbuf = b''
|
||||
self.iconbuf = self.titlebuf = self.colorbuf = self.qbuf = self.ctbuf = ''
|
||||
self.is_alt = False
|
||||
self.iutf8 = True
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user