Home
last modified time | relevance | path

Searched refs:EL_FLAGS (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/libedit/
H A Dterminal.h113 #define EL_FLAGS (el)->el_terminal.t_flags macro
115 #define EL_CAN_INSERT (EL_FLAGS & TERM_CAN_INSERT)
116 #define EL_CAN_DELETE (EL_FLAGS & TERM_CAN_DELETE)
117 #define EL_CAN_CEOL (EL_FLAGS & TERM_CAN_CEOL)
118 #define EL_CAN_TAB (EL_FLAGS & TERM_CAN_TAB)
119 #define EL_CAN_ME (EL_FLAGS & TERM_CAN_ME)
120 #define EL_CAN_UP (EL_FLAGS & TERM_CAN_UP)
121 #define EL_HAS_META (EL_FLAGS & TERM_HAS_META)
122 #define EL_HAS_AUTO_MARGINS (EL_FLAGS & TERM_HAS_AUTO_MARGINS)
123 #define EL_HAS_MAGIC_MARGINS (EL_FLAGS & TERM_HAS_MAGIC_MARGINS)
H A Dterminal.c235 EL_FLAGS = 0; in terminal_setflags()
237 EL_FLAGS |= (Val(T_pt) && !Val(T_xt)) ? TERM_CAN_TAB : 0; in terminal_setflags()
239 EL_FLAGS |= (Val(T_km) || Val(T_MT)) ? TERM_HAS_META : 0; in terminal_setflags()
240 EL_FLAGS |= GoodStr(T_ce) ? TERM_CAN_CEOL : 0; in terminal_setflags()
241 EL_FLAGS |= (GoodStr(T_dc) || GoodStr(T_DC)) ? TERM_CAN_DELETE : 0; in terminal_setflags()
242 EL_FLAGS |= (GoodStr(T_im) || GoodStr(T_ic) || GoodStr(T_IC)) ? in terminal_setflags()
244 EL_FLAGS |= (GoodStr(T_up) || GoodStr(T_UP)) ? TERM_CAN_UP : 0; in terminal_setflags()
245 EL_FLAGS |= Val(T_am) ? TERM_HAS_AUTO_MARGINS : 0; in terminal_setflags()
246 EL_FLAGS |= Val(T_xn) ? TERM_HAS_MAGIC_MARGINS : 0; in terminal_setflags()
249 EL_FLAGS |= (strcmp(Str(T_me), Str(T_ue)) == 0) ? in terminal_setflags()
[all …]