From 97dcf155566083a4b6a43040184cb477d3ff2baf Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 13 Apr 2008 16:58:42 +0000 Subject: 24808: initial support for combining characters in zle --- Src/zsh.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Src/zsh.h') diff --git a/Src/zsh.h b/Src/zsh.h index 08dd140fd..2b8646cb1 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -1715,6 +1715,7 @@ enum { CHASELINKS, CHECKJOBS, CLOBBER, + COMBININGCHARS, COMPLETEALIASES, COMPLETEINWORD, CORRECT, @@ -1936,6 +1937,10 @@ struct ttyinfo { #define tccan(X) (tclen[X]) +/* + * Text attributes for displaying in ZLE + */ + #define TXTBOLDFACE 0x01 #define TXTSTANDOUT 0x02 #define TXTUNDERLINE 0x04 @@ -1955,6 +1960,12 @@ struct ttyinfo { /* Bits to shift off right to get on */ #define TXT_ATTR_OFF_ON_SHIFT (4) +/* + * Indicates to zle_refresh.c that the character entry is an + * index into the list of multiword symbols. + */ +#define TXT_MULTIWORD_MASK 0x100 + #define txtchangeisset(T,X) ((T) & (X)) #define txtchangeset(X, Y) (txtchange |= (X), txtchange &= ~(Y)) -- cgit 1.4.1