Make reverseIndex scroll region-aware
This was causing a issue when scrollback was 0 as the start of the buffer was getting copied
This commit is contained in:
This was causing a issue when scrollback was 0 as the start of the buffer was getting copied