Merge branch '1.5'
This commit is contained in:
commit
f3905a14af
@ -23,7 +23,7 @@ class command():
|
|||||||
return
|
return
|
||||||
if self.env['runtime']['screenManager'].isScreenChange():
|
if self.env['runtime']['screenManager'].isScreenChange():
|
||||||
return
|
return
|
||||||
if len(self.env['input']['prevDeepestInput']) > len(self.env['input']['currInput']):
|
if len(self.env['input']['currInput']) <= len(self.env['input']['prevInput']):
|
||||||
return
|
return
|
||||||
# if the filter is set
|
# if the filter is set
|
||||||
if self.env['runtime']['settingsManager'].getSetting('keyboard', 'interruptOnKeyPressFilter').strip() != '':
|
if self.env['runtime']['settingsManager'].getSetting('keyboard', 'interruptOnKeyPressFilter').strip() != '':
|
||||||
|
@ -27,6 +27,9 @@ class command():
|
|||||||
return
|
return
|
||||||
prevLine = self.env['screen']['oldContentText'].split('\n')[self.env['screen']['newCursor']['y']]
|
prevLine = self.env['screen']['oldContentText'].split('\n')[self.env['screen']['newCursor']['y']]
|
||||||
currLine = self.env['screen']['newContentText'].split('\n')[self.env['screen']['newCursor']['y']]
|
currLine = self.env['screen']['newContentText'].split('\n')[self.env['screen']['newCursor']['y']]
|
||||||
|
if prevLine == currLine:
|
||||||
|
if self.env['screen']['newDelta'] != '':
|
||||||
|
return
|
||||||
if not currLine.isspace():
|
if not currLine.isspace():
|
||||||
currPrompt = currLine.find('$')
|
currPrompt = currLine.find('$')
|
||||||
rootPrompt = currLine.find('#')
|
rootPrompt = currLine.find('#')
|
||||||
|
Loading…
Reference in New Issue
Block a user