find next char logic
This commit is contained in:
parent
5ee7874d13
commit
1b29d24b0a
@ -8,6 +8,12 @@ class command():
|
||||
if environment['screenData']['newCursorReview']['y'] == -1:
|
||||
environment['screenData']['newCursorReview'] = environment['screenData']['newCursor'].copy()
|
||||
wrappedLines = environment['screenData']['newContentText'].split('\n')
|
||||
if environment['screenData']['newCursorReview']['x'] + 1 = len(wrappedLines[environment['screenData']['newCursorReview']['y']):
|
||||
if environment['screenData']['newCursorReview']['y'] +1 < len(wrappedLines) - 1:
|
||||
environment['screenData']['newCursorReview']['y'] += 1
|
||||
environment['screenData']['newCursorReview']['x'] = 0
|
||||
else:
|
||||
environment['screenData']['newCursorReview']['x'] += 1
|
||||
if wrappedLines[environment['screenData']['newCursorReview']['y']][environment['screenData']['newCursorReview']['x']].strip(" \t\n") == '':
|
||||
environment['runtime']['outputManager'].presentText(environment, "blank")
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user