Make x stay as before when moving lines. This is so it's easier to read tables.

This commit is contained in:
Michael Taboada 2021-08-07 00:32:07 -07:00
parent da216c5e77
commit 9fae16caf6

View File

@ -18,7 +18,7 @@ def getPrevLine(currX,currY, currText):
y -= 1
else:
endOfScreen = True
x = 0
x = currX
currLine = ''
if not endOfScreen:
currLine = wrappedLines[y]
@ -45,7 +45,7 @@ def getNextLine(currX,currY, currText):
y += 1
else:
endOfScreen = True
x = 0
x = currX
currLine = ''
if not endOfScreen:
currLine = wrappedLines[y]