diff options
Diffstat (limited to 'Src/zsh.h')
-rw-r--r-- | Src/zsh.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/zsh.h b/Src/zsh.h index d83bdd2bb..f3ccd636b 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -1983,6 +1983,8 @@ struct ttyinfo { #define TXT_ATTR_OFF_ON_SHIFT 6 #define TXT_ATTR_OFF_FROM_ON(attr) \ (((attr) & TXT_ATTR_ON_MASK) << TXT_ATTR_OFF_ON_SHIFT) +#define TXT_ATTR_ON_FROM_OFF(attr) \ + (((attr) & TXT_ATTR_OFF_MASK) >> TXT_ATTR_OFF_ON_SHIFT) /* * Indicates to zle_refresh.c that the character entry is an * index into the list of multiword symbols. |