mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-26 13:20:05 +03:00
notes
This commit is contained in:
parent
0cbc008746
commit
aa7c8f2839
2 changed files with 5 additions and 0 deletions
|
@ -806,10 +806,13 @@ class TerminalEmulator {
|
|||
static struct TerminalCell {
|
||||
align(1):
|
||||
private union {
|
||||
// OMG the top 11 bits of a dchar are always 0
|
||||
// and i can reuse them!!!
|
||||
struct {
|
||||
dchar chStore = ' '; /// the character
|
||||
TextAttributes attributesStore; /// color, etc.
|
||||
}
|
||||
// 64 bit pointer also has unused 16 bits but meh.
|
||||
NonCharacterData nonCharacterDataStore; /// iff hasNonCharacterData
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue