1 Style Attributes
(require tui/buf/attributes) |
This module provide a consistent programming interface for storing common terminal style flags to other modules.
The following attribute flags are tracked:
Bits|Name | 1 | dirty | 1 | bold | 2 | underline | 1 | italic | 2 | blink |
0 | clean | 0 | normal | 0 | none | 0 | regular | 0 | no | |
1 | dirty | 1 | bold | 1 | single | 1 | italic | 1 | slow | |
2 | double | 2 | fast | |||||||
3 | invalid | 3 | invalid |
1.1 Dirty Flag
value
tcf-dirty-bits : fixnum?
value
tcf-dirty-shift : fixnum?
value
tcf-dirty-mask : fixnum?
value
tcf-dirty-false : fixnum?
value
tcf-dirty-true : fixnum?
1.2 Bold Flag
value
tcf-bold-bits : fixnum?
value
tcf-bold-shift : fixnum?
value
tcf-bold-mask : fixnum?
value
tcf-bold-false : fixnum?
value
tcf-bold-true : fixnum?
1.3 Underline Flags
value
tcf-underline-bits : fixnum?
value
tcf-underline-shift : fixnum?
value
tcf-underline-mask : fixnum?
value
tcf-underline-none : fixnum?
value
tcf-underline-single : fixnum?
value
tcf-underline-double : fixnum?
value
tcf-underline-invalid : fixnum?
1.4 Italic Flag
value
tcf-italic-bits : fixnum?
value
tcf-italic-shift : fixnum?
value
tcf-italic-mask : fixnum?
value
tcf-italic-false : fixnum?
value
tcf-italic-true : fixnum?
1.5 Blink Flags
value
tcf-blink-bits : fixnum?
value
tcf-blink-shift : fixnum?
value
tcf-blink-mask : fixnum?
value
tcf-blink-none : fixnum?
value
tcf-blink-slow : fixnum?
value
tcf-blink-fast : fixnum?
value
tcf-blink-invalid : fixnum?
1.6 Wide Flag
value
tcf-wide-bits : fixnum?
value
tcf-wide-shift : fixnum?
value
tcf-wide-mask : fixnum?
value
tcf-wide-false : fixnum?
value
tcf-wide-true : fixnum?
1.7 Generic Masks
value
tcf-except-dirty-mask : fixnum?
value
tcf-mask : fixnum?