index should return after handling bottom-most line in scroll region

This commit is contained in:
Mitchell Hashimoto
2022-07-25 08:08:23 -07:00
parent f11c82853f
commit a239098883

View File

@ -390,6 +390,8 @@ pub fn index(self: *Terminal) void {
// TODO: test
self.scrollUp(1);
}
return;
}
// Increase cursor by 1, maximum to bottom of scroll region