diff options
author | June McEnroe <june@causal.agency> | 2019-08-05 18:21:00 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-08-05 18:29:02 -0400 |
commit | 85bd253aef05867251259dd06f2fc5bcc72f0474 (patch) | |
tree | e4e9806f1f773b61cbf729ed0018fd1d006a7919 /stream.h | |
parent | Add termDisplay (diff) | |
download | stream-85bd253aef05867251259dd06f2fc5bcc72f0474.tar.gz stream-85bd253aef05867251259dd06f2fc5bcc72f0474.zip |
Add dim and blink attributes
Diffstat (limited to '')
-rw-r--r-- | stream.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/stream.h b/stream.h index 0bb7507..8726381 100644 --- a/stream.h +++ b/stream.h @@ -21,8 +21,17 @@ typedef unsigned uint; +enum Attr { + Bold = 1 << 0, + Dim = 1 << 1, + Italic = 1 << 2, + Underline = 1 << 3, + Blink = 1 << 4, + Reverse = 1 << 5, +}; + struct Style { - bool bold, italic, underline, reverse; + enum Attr attr; int bg, fg; }; |