This commit is contained in:
chrys
2018-07-20 02:09:53 +02:00
parent 5e044c7d61
commit 145ff8bb5d
2 changed files with 4 additions and 4 deletions

View File

@ -162,8 +162,8 @@ class screenManager():
typing = True
tempNewDelta = ''.join(x[2:] for x in diffList if x[0] == '+')
if tempNewDelta.strip() != '':
if tempNewDelta != ''.join(newScreenText[self.env['screen']['oldCursor']['x']:self.env['screen']['newCursor']['x']].rstrip()):
if not '' not in tempNewDelta:
if not '' not in tempNewDelta:
if tempNewDelta != ''.join(newScreenText[self.env['screen']['oldCursor']['x']:self.env['screen']['newCursor']['x']].rstrip()):
diffList = ['+ ' + self.env['screen']['newContentText'].split('\n')[self.env['screen']['newCursor']['y']] +'\n']
typing = False
else: