improve presentation of pseudo windows
This commit is contained in:
parent
5f275ed373
commit
12d1d96afd
@ -57,7 +57,10 @@ class command():
|
||||
return
|
||||
# deletion
|
||||
if self.env['runtime']['screenManager'].isNegativeDelta():
|
||||
return
|
||||
# quirk for pseudo windows like finch (uses _ insteed of space in input box)
|
||||
if self.env['screen']['newNegativeDelta'] != '_':
|
||||
return
|
||||
|
||||
# first place could not be the end of a word
|
||||
if self.env['screen']['newCursor']['x'] == 0:
|
||||
return
|
||||
|
@ -169,7 +169,7 @@ class screenManager():
|
||||
else:
|
||||
# cleanup scrollbars in windows to not produce wrong output
|
||||
if ('│' in newScreenText) and ('│' in oldScreenText):
|
||||
for c in ['▒','↑']:
|
||||
for c in ['▒','↑','↓']:
|
||||
newScreenText = newScreenText.replace(c,'')
|
||||
oldScreenText = oldScreenText.replace(c,'')
|
||||
diff = self.differ.compare(oldScreenText.split('\n'),\
|
||||
|
Loading…
Reference in New Issue
Block a user