We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c676bac + a6c9964 commit faf3e55Copy full SHA for faf3e55
1 file changed
src/screenControl.py
@@ -591,7 +591,9 @@ def printXMode(self):
591
topY = maxy - 2
592
minY = self.scrollBar.getMinY() - 1
593
for i in range(minY, topY + 1):
594
- self.colorPrinter.addstr(i, 1, lbls[i - minY])
+ idx = i - minY
595
+ if idx < len(lbls):
596
+ self.colorPrinter.addstr(i, 1, lbls[idx])
597
598
def selectXMode(self, key):
599
lineObj = self.lineObjs[
0 commit comments