mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 14:17:34 +00:00
Terminal: Track which character cells have had something printed in them.
This helps us figure out where lines end, which we need when computing the selected text for copy-to-clipboard. :^)
This commit is contained in:
parent
33ac0de988
commit
438a14c597
2 changed files with 15 additions and 2 deletions
|
@ -160,8 +160,11 @@ private:
|
|||
Underline = 0x04,
|
||||
Negative = 0x08,
|
||||
Blink = 0x10,
|
||||
Touched = 0x20,
|
||||
};
|
||||
|
||||
bool is_untouched() const { return !(flags & Touched); }
|
||||
|
||||
// TODO: it would be really nice if we had a helper for enums that
|
||||
// exposed bit ops for class enums...
|
||||
int flags = Flags::NoAttributes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue