Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vscreens: resize: grow: last vscreen should be N-1 rather than N
growing the number (set vscreens N) at runtime would always grow one extra: new set of vscreens had the last one indexed at N, rather than N-1. this meant there was always one extra when we grew the vscreen count. the end must be shifted by one left. conversely, shrinking already worked correctly: the new set of vscreens would have the last one indexed at N-1
- Loading branch information