mirror of
https://github.com/notwa/mm
synced 2024-11-05 00:29:02 -08:00
show uncertain flags differently when set
This commit is contained in:
parent
58fb468850
commit
28a2f9a059
1 changed files with 7 additions and 2 deletions
|
@ -41,10 +41,15 @@ function FlagMonitor:mark(i, x, x1)
|
|||
str = ('%02i,%i=%i (%s)'):format(i, which, state, self.name)
|
||||
end
|
||||
local ib = i*8 + which
|
||||
if not self.modified[ib] then
|
||||
local curious = self.modified[ib] == "curious"
|
||||
if not self.modified[ib] or curious then
|
||||
self.modified[ib] = true
|
||||
self.dirty = true
|
||||
str = str..' (NEW!)'
|
||||
if not curious then
|
||||
str = str..' (NEW!)'
|
||||
else
|
||||
str = str..' (!!!)'
|
||||
end
|
||||
end
|
||||
if not ignore[str] then
|
||||
dprintf('%s @%i', str, now)
|
||||
|
|
Loading…
Reference in a new issue