some more tweaks

This commit is contained in:
chrys
2016-12-23 00:18:17 +01:00
parent 4a7a36e6b8
commit 58d209cde9
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ class command():
newContent = self.env['screenData']['newContentText'].split('\n')[self.env['screenData']['newCursor']['y']]
x, y, currWord, endOfScreen, lineBreak = word_utils.getCurrentWord(self.env['screenData']['newCursor']['x'], 0, newContent)
# was this a typed word?
if self.env['screenData']['newDelta'] != '':
if self.env['runtime']['screenManager'].isDelta():
if not(newContent[self.env['screenData']['oldCursor']['x']] in string.whitespace + '!"#$%&()*+,-./:;<=>?@[\\]^_{|}~' and x != self.env['screenData']['oldCursor']['x']):
return
else: