/// No screen update is needed.
None = 0,
/// Recenter the screen around the cursor if is found outside the
- /// visible area. This will trigger a full metrics update if needed.
+ /// visible area.
FitCursor = 1,
/// Force a full screen metrics update and a full draw.
Force = 2,
SinglePar = 8,
/// Only the inset decorations need to be redrawn, no text metrics
/// update is needed.
- Decoration = 16
+ Decoration = 16,
+ /// Force metrics and redraw for all buffers.
+ ForceAll = 32
};
inline flags operator|(flags const f, flags const g)
inline flags operator~(flags const f)
{
- return static_cast<flags>(~int(f));
+ return static_cast<flags>(~int(f) & 0x3f);
}
} // namespace Update