Update linux.py
This commit is contained in:
parent
77b3228b0e
commit
dd45b60ec8
@ -67,7 +67,7 @@ class screen():
|
||||
environment['screenData']['newDelta'] = environment['screenData']['newContentText']
|
||||
else:
|
||||
diffStart = 0
|
||||
lastLine = len(environment['screenData']['newDelta']) - environment['screenData']['columns']
|
||||
lastLine = len(environment['screenData']['newDelta']) - environment['screenData']['columns'] -1
|
||||
if environment['screenData']['newDelta'][:lastLine] == environment['screenData']['oldDelta'][:lastLine]:
|
||||
diffStart = lastLine + 1
|
||||
diff = difflib.ndiff(" ".join(environment['screenData']['oldContentText'][diffStart:].split(' ')),\
|
||||
|
Loading…
Reference in New Issue
Block a user