fix: only change stable row offset if screen has scrollback
This commit is contained in:
1 parent
bcf77a711c
commit
f911e48a95
1 file changed
+1
-1
+1
-1
@@ -724,7 +724,7 @@ impl Screen {
|
||||
self.lines.remove(remove_idx);
|
||||
}
|
||||
|
||||
if remove_idx == 0 {
|
||||
if remove_idx == 0 && self.allow_scrollback {
|
||||
self.stable_row_index_offset += lines_removed;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user