improve presentation of pseudo windows

This commit is contained in:
chrys
2018-07-19 22:16:03 +02:00
parent 5f275ed373
commit 12d1d96afd
2 changed files with 5 additions and 2 deletions

View File

@ -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