no history on attribute change

This commit is contained in:
chrys 2018-06-11 21:09:34 +02:00
parent 43ddfb2787
commit 02ae172d8c

View File

@ -22,6 +22,8 @@ class command():
return return
if self.env['runtime']['cursorManager'].isCursorVerticalMove(): if self.env['runtime']['cursorManager'].isCursorVerticalMove():
return return
if self.env['runtime']['attributeManager'].isAttributeChange():
return
# hack for pdmenu and maybe other dialog apps that place the cursor at last cell/row # hack for pdmenu and maybe other dialog apps that place the cursor at last cell/row
# this is not to be identified as history # this is not to be identified as history
if (self.env['screen']['newCursor']['x'] == self.env['runtime']['screenManager'].getColumns() - 1) and (self.env['screen']['newCursor']['y'] == self.env['runtime']['screenManager'].getRows() - 1): if (self.env['screen']['newCursor']['x'] == self.env['runtime']['screenManager'].getColumns() - 1) and (self.env['screen']['newCursor']['y'] == self.env['runtime']['screenManager'].getRows() - 1):