mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 16:58:09 +02:00
Reset scroll when toggling screen buffers
This commit is contained in:
@@ -227,6 +227,9 @@ class Window:
|
||||
k = key_map[GLFW_KEY_UP if upwards else GLFW_KEY_DOWN]
|
||||
self.write_to_child(k * abs(s))
|
||||
|
||||
def buf_toggled(self, is_main_linebuf):
|
||||
self.char_grid.scroll('full', False)
|
||||
|
||||
# actions {{{
|
||||
|
||||
def paste(self, text):
|
||||
|
||||
Reference in New Issue
Block a user