summaryrefslogtreecommitdiffstats
path: root/Src/Zle/zle.h
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-11-12 07:54:21 +0100
committerOliver Kiddle <opk@zsh.org>2025-11-12 07:55:05 +0100
commitd8666da9de4842b454567798e900c64c723c5e60 (patch)
treee5fcceacf66e5c8a2ea028c0ad577c7fd7d58757 /Src/Zle/zle.h
parent54037: fix to highlight layers where special is assigned a low layer (diff)
downloadzsh-d8666da9de4842b454567798e900c64c723c5e60.tar
zsh-d8666da9de4842b454567798e900c64c723c5e60.tar.gz
zsh-d8666da9de4842b454567798e900c64c723c5e60.tar.bz2
zsh-d8666da9de4842b454567798e900c64c723c5e60.tar.lz
zsh-d8666da9de4842b454567798e900c64c723c5e60.tar.xz
zsh-d8666da9de4842b454567798e900c64c723c5e60.tar.zst
zsh-d8666da9de4842b454567798e900c64c723c5e60.zip
54043, 54055: allow highlighing attributes to be turned back off
Diffstat (limited to 'Src/Zle/zle.h')
-rw-r--r--Src/Zle/zle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h
index 91eefc9e5..bf479d4cc 100644
--- a/Src/Zle/zle.h
+++ b/Src/Zle/zle.h
@@ -433,8 +433,10 @@ enum {
* and mark.
*/
struct region_highlight {
- /* Attributes turned on in the region */
+ /* Attributes for the region */
zattr atr;
+ /* Explicitly set attributes for the region */
+ zattr atrmask;
/* Priority for this region relative to others that overlap */
int layer;
/* Start of the region */