Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../usr/include
File: ncurses.h
extern NCURSES_EXPORT(char) NCURSES_SP_NAME(erasechar) (SCREEN*);/* implemented:SP_FUNC */
[1000] Fix | Delete
extern NCURSES_EXPORT(void) NCURSES_SP_NAME(filter) (SCREEN*); /* implemented:SP_FUNC */
[1001] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(flash) (SCREEN*); /* implemented:SP_FUNC */
[1002] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(flushinp) (SCREEN*); /* implemented:SP_FUNC */
[1003] Fix | Delete
extern NCURSES_EXPORT(WINDOW *) NCURSES_SP_NAME(getwin) (SCREEN*, FILE *); /* implemented:SP_FUNC */
[1004] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(halfdelay) (SCREEN*, int); /* implemented:SP_FUNC */
[1005] Fix | Delete
extern NCURSES_EXPORT(bool) NCURSES_SP_NAME(has_colors) (SCREEN*); /* implemented:SP_FUNC */
[1006] Fix | Delete
extern NCURSES_EXPORT(bool) NCURSES_SP_NAME(has_ic) (SCREEN*); /* implemented:SP_FUNC */
[1007] Fix | Delete
extern NCURSES_EXPORT(bool) NCURSES_SP_NAME(has_il) (SCREEN*); /* implemented:SP_FUNC */
[1008] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(init_color) (SCREEN*, NCURSES_COLOR_T, NCURSES_COLOR_T, NCURSES_COLOR_T, NCURSES_COLOR_T); /* implemented:SP_FUNC */
[1009] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(init_pair) (SCREEN*, NCURSES_PAIRS_T, NCURSES_COLOR_T, NCURSES_COLOR_T); /* implemented:SP_FUNC */
[1010] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(intrflush) (SCREEN*, WINDOW*, bool); /* implemented:SP_FUNC */
[1011] Fix | Delete
extern NCURSES_EXPORT(bool) NCURSES_SP_NAME(isendwin) (SCREEN*); /* implemented:SP_FUNC */
[1012] Fix | Delete
extern NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(keyname) (SCREEN*, int); /* implemented:SP_FUNC */
[1013] Fix | Delete
extern NCURSES_EXPORT(char) NCURSES_SP_NAME(killchar) (SCREEN*); /* implemented:SP_FUNC */
[1014] Fix | Delete
extern NCURSES_EXPORT(char *) NCURSES_SP_NAME(longname) (SCREEN*); /* implemented:SP_FUNC */
[1015] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(mvcur) (SCREEN*, int, int, int, int); /* implemented:SP_FUNC */
[1016] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(napms) (SCREEN*, int); /* implemented:SP_FUNC */
[1017] Fix | Delete
extern NCURSES_EXPORT(WINDOW *) NCURSES_SP_NAME(newpad) (SCREEN*, int, int); /* implemented:SP_FUNC */
[1018] Fix | Delete
extern NCURSES_EXPORT(SCREEN *) NCURSES_SP_NAME(newterm) (SCREEN*, NCURSES_CONST char *, FILE *, FILE *); /* implemented:SP_FUNC */
[1019] Fix | Delete
extern NCURSES_EXPORT(WINDOW *) NCURSES_SP_NAME(newwin) (SCREEN*, int, int, int, int); /* implemented:SP_FUNC */
[1020] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(nl) (SCREEN*); /* implemented:SP_FUNC */
[1021] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(nocbreak) (SCREEN*); /* implemented:SP_FUNC */
[1022] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(noecho) (SCREEN*); /* implemented:SP_FUNC */
[1023] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(nonl) (SCREEN*); /* implemented:SP_FUNC */
[1024] Fix | Delete
extern NCURSES_EXPORT(void) NCURSES_SP_NAME(noqiflush) (SCREEN*); /* implemented:SP_FUNC */
[1025] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(noraw) (SCREEN*); /* implemented:SP_FUNC */
[1026] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(pair_content) (SCREEN*, NCURSES_PAIRS_T, NCURSES_COLOR_T*, NCURSES_COLOR_T*); /* implemented:SP_FUNC */
[1027] Fix | Delete
extern NCURSES_EXPORT(void) NCURSES_SP_NAME(qiflush) (SCREEN*); /* implemented:SP_FUNC */
[1028] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(raw) (SCREEN*); /* implemented:SP_FUNC */
[1029] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(reset_prog_mode) (SCREEN*); /* implemented:SP_FUNC */
[1030] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(reset_shell_mode) (SCREEN*); /* implemented:SP_FUNC */
[1031] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(resetty) (SCREEN*); /* implemented:SP_FUNC */
[1032] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(ripoffline) (SCREEN*, int, int (*)(WINDOW *, int)); /* implemented:SP_FUNC */
[1033] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(savetty) (SCREEN*); /* implemented:SP_FUNC */
[1034] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(scr_init) (SCREEN*, const char *); /* implemented:SP_FUNC */
[1035] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(scr_restore) (SCREEN*, const char *); /* implemented:SP_FUNC */
[1036] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(scr_set) (SCREEN*, const char *); /* implemented:SP_FUNC */
[1037] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(slk_attroff) (SCREEN*, const chtype); /* implemented:SP_FUNC */
[1038] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(slk_attron) (SCREEN*, const chtype); /* implemented:SP_FUNC */
[1039] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(slk_attrset) (SCREEN*, const chtype); /* implemented:SP_FUNC */
[1040] Fix | Delete
extern NCURSES_EXPORT(attr_t) NCURSES_SP_NAME(slk_attr) (SCREEN*); /* implemented:SP_FUNC */
[1041] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(slk_attr_set) (SCREEN*, const attr_t, NCURSES_PAIRS_T, void*); /* implemented:SP_FUNC */
[1042] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(slk_clear) (SCREEN*); /* implemented:SP_FUNC */
[1043] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(slk_color) (SCREEN*, NCURSES_PAIRS_T); /* implemented:SP_FUNC */
[1044] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(slk_init) (SCREEN*, int); /* implemented:SP_FUNC */
[1045] Fix | Delete
extern NCURSES_EXPORT(char *) NCURSES_SP_NAME(slk_label) (SCREEN*, int); /* implemented:SP_FUNC */
[1046] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(slk_noutrefresh) (SCREEN*); /* implemented:SP_FUNC */
[1047] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(slk_refresh) (SCREEN*); /* implemented:SP_FUNC */
[1048] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(slk_restore) (SCREEN*); /* implemented:SP_FUNC */
[1049] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(slk_set) (SCREEN*, int, const char *, int); /* implemented:SP_FUNC */
[1050] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(slk_touch) (SCREEN*); /* implemented:SP_FUNC */
[1051] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(start_color) (SCREEN*); /* implemented:SP_FUNC */
[1052] Fix | Delete
extern NCURSES_EXPORT(chtype) NCURSES_SP_NAME(termattrs) (SCREEN*); /* implemented:SP_FUNC */
[1053] Fix | Delete
extern NCURSES_EXPORT(char *) NCURSES_SP_NAME(termname) (SCREEN*); /* implemented:SP_FUNC */
[1054] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(typeahead) (SCREEN*, int); /* implemented:SP_FUNC */
[1055] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(ungetch) (SCREEN*, int); /* implemented:SP_FUNC */
[1056] Fix | Delete
extern NCURSES_EXPORT(void) NCURSES_SP_NAME(use_env) (SCREEN*, bool); /* implemented:SP_FUNC */
[1057] Fix | Delete
extern NCURSES_EXPORT(void) NCURSES_SP_NAME(use_tioctl) (SCREEN*, bool); /* implemented:SP_FUNC */
[1058] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(vidattr) (SCREEN*, chtype); /* implemented:SP_FUNC */
[1059] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(vidputs) (SCREEN*, chtype, NCURSES_SP_OUTC); /* implemented:SP_FUNC */
[1060] Fix | Delete
#if 1
[1061] Fix | Delete
extern NCURSES_EXPORT(char *) NCURSES_SP_NAME(keybound) (SCREEN*, int, int); /* implemented:EXT_SP_FUNC */
[1062] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(alloc_pair) (SCREEN*, int, int); /* implemented:EXT_SP_FUNC */
[1063] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(assume_default_colors) (SCREEN*, int, int); /* implemented:EXT_SP_FUNC */
[1064] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(define_key) (SCREEN*, const char *, int); /* implemented:EXT_SP_FUNC */
[1065] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(extended_color_content) (SCREEN*, int, int *, int *, int *); /* implemented:EXT_SP_FUNC */
[1066] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(extended_pair_content) (SCREEN*, int, int *, int *); /* implemented:EXT_SP_FUNC */
[1067] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(extended_slk_color) (SCREEN*, int); /* implemented:EXT_SP_FUNC */
[1068] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(get_escdelay) (SCREEN*); /* implemented:EXT_SP_FUNC */
[1069] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(find_pair) (SCREEN*, int, int); /* implemented:EXT_SP_FUNC */
[1070] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(free_pair) (SCREEN*, int); /* implemented:EXT_SP_FUNC */
[1071] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(init_extended_color) (SCREEN*, int, int, int, int); /* implemented:EXT_SP_FUNC */
[1072] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(init_extended_pair) (SCREEN*, int, int, int); /* implemented:EXT_SP_FUNC */
[1073] Fix | Delete
extern NCURSES_EXPORT(bool) NCURSES_SP_NAME(is_term_resized) (SCREEN*, int, int); /* implemented:EXT_SP_FUNC */
[1074] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(key_defined) (SCREEN*, const char *); /* implemented:EXT_SP_FUNC */
[1075] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(keyok) (SCREEN*, int, bool); /* implemented:EXT_SP_FUNC */
[1076] Fix | Delete
extern NCURSES_EXPORT(void) NCURSES_SP_NAME(nofilter) (SCREEN*); /* implemented */ /* implemented:EXT_SP_FUNC */
[1077] Fix | Delete
extern NCURSES_EXPORT(void) NCURSES_SP_NAME(reset_color_pairs) (SCREEN*); /* implemented:EXT_SP_FUNC */
[1078] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(resize_term) (SCREEN*, int, int); /* implemented:EXT_SP_FUNC */
[1079] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(resizeterm) (SCREEN*, int, int); /* implemented:EXT_SP_FUNC */
[1080] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(set_escdelay) (SCREEN*, int); /* implemented:EXT_SP_FUNC */
[1081] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(set_tabsize) (SCREEN*, int); /* implemented:EXT_SP_FUNC */
[1082] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(use_default_colors) (SCREEN*); /* implemented:EXT_SP_FUNC */
[1083] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(use_legacy_coding) (SCREEN*, int); /* implemented:EXT_SP_FUNC */
[1084] Fix | Delete
#endif
[1085] Fix | Delete
#else
[1086] Fix | Delete
#undef NCURSES_SP_FUNCS
[1087] Fix | Delete
#define NCURSES_SP_FUNCS 0
[1088] Fix | Delete
#define NCURSES_SP_NAME(name) name
[1089] Fix | Delete
#define NCURSES_SP_OUTC NCURSES_OUTC
[1090] Fix | Delete
#endif
[1091] Fix | Delete
[1092] Fix | Delete
/* attributes */
[1093] Fix | Delete
[1094] Fix | Delete
#define NCURSES_ATTR_SHIFT 8
[1095] Fix | Delete
#define NCURSES_BITS(mask,shift) (NCURSES_CAST(chtype,(mask)) << ((shift) + NCURSES_ATTR_SHIFT))
[1096] Fix | Delete
[1097] Fix | Delete
#define A_NORMAL (1U - 1U)
[1098] Fix | Delete
#define A_ATTRIBUTES NCURSES_BITS(~(1U - 1U),0)
[1099] Fix | Delete
#define A_CHARTEXT (NCURSES_BITS(1U,0) - 1U)
[1100] Fix | Delete
#define A_COLOR NCURSES_BITS(((1U) << 8) - 1U,0)
[1101] Fix | Delete
#define A_STANDOUT NCURSES_BITS(1U,8)
[1102] Fix | Delete
#define A_UNDERLINE NCURSES_BITS(1U,9)
[1103] Fix | Delete
#define A_REVERSE NCURSES_BITS(1U,10)
[1104] Fix | Delete
#define A_BLINK NCURSES_BITS(1U,11)
[1105] Fix | Delete
#define A_DIM NCURSES_BITS(1U,12)
[1106] Fix | Delete
#define A_BOLD NCURSES_BITS(1U,13)
[1107] Fix | Delete
#define A_ALTCHARSET NCURSES_BITS(1U,14)
[1108] Fix | Delete
#define A_INVIS NCURSES_BITS(1U,15)
[1109] Fix | Delete
#define A_PROTECT NCURSES_BITS(1U,16)
[1110] Fix | Delete
#define A_HORIZONTAL NCURSES_BITS(1U,17)
[1111] Fix | Delete
#define A_LEFT NCURSES_BITS(1U,18)
[1112] Fix | Delete
#define A_LOW NCURSES_BITS(1U,19)
[1113] Fix | Delete
#define A_RIGHT NCURSES_BITS(1U,20)
[1114] Fix | Delete
#define A_TOP NCURSES_BITS(1U,21)
[1115] Fix | Delete
#define A_VERTICAL NCURSES_BITS(1U,22)
[1116] Fix | Delete
[1117] Fix | Delete
#if 1
[1118] Fix | Delete
#define A_ITALIC NCURSES_BITS(1U,23) /* ncurses extension */
[1119] Fix | Delete
#endif
[1120] Fix | Delete
[1121] Fix | Delete
/*
[1122] Fix | Delete
* Most of the pseudo functions are macros that either provide compatibility
[1123] Fix | Delete
* with older versions of curses, or provide inline functionality to improve
[1124] Fix | Delete
* performance.
[1125] Fix | Delete
*/
[1126] Fix | Delete
[1127] Fix | Delete
/*
[1128] Fix | Delete
* These pseudo functions are always implemented as macros:
[1129] Fix | Delete
*/
[1130] Fix | Delete
[1131] Fix | Delete
#define getyx(win,y,x) (y = getcury(win), x = getcurx(win))
[1132] Fix | Delete
#define getbegyx(win,y,x) (y = getbegy(win), x = getbegx(win))
[1133] Fix | Delete
#define getmaxyx(win,y,x) (y = getmaxy(win), x = getmaxx(win))
[1134] Fix | Delete
#define getparyx(win,y,x) (y = getpary(win), x = getparx(win))
[1135] Fix | Delete
[1136] Fix | Delete
#define getsyx(y,x) do { if (newscr) { \
[1137] Fix | Delete
if (is_leaveok(newscr)) \
[1138] Fix | Delete
(y) = (x) = -1; \
[1139] Fix | Delete
else \
[1140] Fix | Delete
getyx(newscr,(y), (x)); \
[1141] Fix | Delete
} \
[1142] Fix | Delete
} while(0)
[1143] Fix | Delete
[1144] Fix | Delete
#define setsyx(y,x) do { if (newscr) { \
[1145] Fix | Delete
if ((y) == -1 && (x) == -1) \
[1146] Fix | Delete
leaveok(newscr, TRUE); \
[1147] Fix | Delete
else { \
[1148] Fix | Delete
leaveok(newscr, FALSE); \
[1149] Fix | Delete
wmove(newscr, (y), (x)); \
[1150] Fix | Delete
} \
[1151] Fix | Delete
} \
[1152] Fix | Delete
} while(0)
[1153] Fix | Delete
[1154] Fix | Delete
#ifndef NCURSES_NOMACROS
[1155] Fix | Delete
[1156] Fix | Delete
/*
[1157] Fix | Delete
* These miscellaneous pseudo functions are provided for compatibility:
[1158] Fix | Delete
*/
[1159] Fix | Delete
[1160] Fix | Delete
#define wgetstr(w, s) wgetnstr(w, s, -1)
[1161] Fix | Delete
#define getnstr(s, n) wgetnstr(stdscr, s, (n))
[1162] Fix | Delete
[1163] Fix | Delete
#define setterm(term) setupterm(term, 1, (int *)0)
[1164] Fix | Delete
[1165] Fix | Delete
#define fixterm() reset_prog_mode()
[1166] Fix | Delete
#define resetterm() reset_shell_mode()
[1167] Fix | Delete
#define saveterm() def_prog_mode()
[1168] Fix | Delete
#define crmode() cbreak()
[1169] Fix | Delete
#define nocrmode() nocbreak()
[1170] Fix | Delete
#define gettmode()
[1171] Fix | Delete
[1172] Fix | Delete
/* It seems older SYSV curses versions define these */
[1173] Fix | Delete
#if !NCURSES_OPAQUE
[1174] Fix | Delete
#define getattrs(win) NCURSES_CAST(int, NCURSES_OK_ADDR(win) ? (win)->_attrs : A_NORMAL)
[1175] Fix | Delete
#define getcurx(win) (NCURSES_OK_ADDR(win) ? (win)->_curx : ERR)
[1176] Fix | Delete
#define getcury(win) (NCURSES_OK_ADDR(win) ? (win)->_cury : ERR)
[1177] Fix | Delete
#define getbegx(win) (NCURSES_OK_ADDR(win) ? (win)->_begx : ERR)
[1178] Fix | Delete
#define getbegy(win) (NCURSES_OK_ADDR(win) ? (win)->_begy : ERR)
[1179] Fix | Delete
#define getmaxx(win) (NCURSES_OK_ADDR(win) ? ((win)->_maxx + 1) : ERR)
[1180] Fix | Delete
#define getmaxy(win) (NCURSES_OK_ADDR(win) ? ((win)->_maxy + 1) : ERR)
[1181] Fix | Delete
#define getparx(win) (NCURSES_OK_ADDR(win) ? (win)->_parx : ERR)
[1182] Fix | Delete
#define getpary(win) (NCURSES_OK_ADDR(win) ? (win)->_pary : ERR)
[1183] Fix | Delete
#endif /* NCURSES_OPAQUE */
[1184] Fix | Delete
[1185] Fix | Delete
#define wstandout(win) (wattrset(win,A_STANDOUT))
[1186] Fix | Delete
#define wstandend(win) (wattrset(win,A_NORMAL))
[1187] Fix | Delete
[1188] Fix | Delete
#define wattron(win,at) wattr_on(win, NCURSES_CAST(attr_t, at), NULL)
[1189] Fix | Delete
#define wattroff(win,at) wattr_off(win, NCURSES_CAST(attr_t, at), NULL)
[1190] Fix | Delete
[1191] Fix | Delete
#if !NCURSES_OPAQUE
[1192] Fix | Delete
#if NCURSES_WATTR_MACROS
[1193] Fix | Delete
#if NCURSES_WIDECHAR && 1
[1194] Fix | Delete
#define wattrset(win,at) \
[1195] Fix | Delete
(NCURSES_OK_ADDR(win) \
[1196] Fix | Delete
? ((win)->_color = NCURSES_CAST(int, PAIR_NUMBER(at)), \
[1197] Fix | Delete
(win)->_attrs = NCURSES_CAST(attr_t, at), \
[1198] Fix | Delete
OK) \
[1199] Fix | Delete
: ERR)
[1200] Fix | Delete
#else
[1201] Fix | Delete
#define wattrset(win,at) \
[1202] Fix | Delete
(NCURSES_OK_ADDR(win) \
[1203] Fix | Delete
? ((win)->_attrs = NCURSES_CAST(attr_t, at), \
[1204] Fix | Delete
OK) \
[1205] Fix | Delete
: ERR)
[1206] Fix | Delete
#endif
[1207] Fix | Delete
#endif /* NCURSES_WATTR_MACROS */
[1208] Fix | Delete
#endif /* NCURSES_OPAQUE */
[1209] Fix | Delete
[1210] Fix | Delete
#define scroll(win) wscrl(win,1)
[1211] Fix | Delete
[1212] Fix | Delete
#define touchwin(win) wtouchln((win), 0, getmaxy(win), 1)
[1213] Fix | Delete
#define touchline(win, s, c) wtouchln((win), s, c, 1)
[1214] Fix | Delete
#define untouchwin(win) wtouchln((win), 0, getmaxy(win), 0)
[1215] Fix | Delete
[1216] Fix | Delete
#define box(win, v, h) wborder(win, v, v, h, h, 0, 0, 0, 0)
[1217] Fix | Delete
#define border(ls, rs, ts, bs, tl, tr, bl, br) wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br)
[1218] Fix | Delete
#define hline(ch, n) whline(stdscr, ch, (n))
[1219] Fix | Delete
#define vline(ch, n) wvline(stdscr, ch, (n))
[1220] Fix | Delete
[1221] Fix | Delete
#define winstr(w, s) winnstr(w, s, -1)
[1222] Fix | Delete
#define winchstr(w, s) winchnstr(w, s, -1)
[1223] Fix | Delete
#define winsstr(w, s) winsnstr(w, s, -1)
[1224] Fix | Delete
[1225] Fix | Delete
#if !NCURSES_OPAQUE
[1226] Fix | Delete
#define redrawwin(win) wredrawln(win, 0, (NCURSES_OK_ADDR(win) ? (win)->_maxy+1 : -1))
[1227] Fix | Delete
#endif /* NCURSES_OPAQUE */
[1228] Fix | Delete
[1229] Fix | Delete
#define waddstr(win,str) waddnstr(win,str,-1)
[1230] Fix | Delete
#define waddchstr(win,str) waddchnstr(win,str,-1)
[1231] Fix | Delete
[1232] Fix | Delete
/*
[1233] Fix | Delete
* These apply to the first 256 color pairs.
[1234] Fix | Delete
*/
[1235] Fix | Delete
#define COLOR_PAIR(n) (NCURSES_BITS((n), 0) & A_COLOR)
[1236] Fix | Delete
#define PAIR_NUMBER(a) (NCURSES_CAST(int,((NCURSES_CAST(unsigned long,(a)) & A_COLOR) >> NCURSES_ATTR_SHIFT)))
[1237] Fix | Delete
[1238] Fix | Delete
/*
[1239] Fix | Delete
* pseudo functions for standard screen
[1240] Fix | Delete
*/
[1241] Fix | Delete
[1242] Fix | Delete
#define addch(ch) waddch(stdscr,(ch))
[1243] Fix | Delete
#define addchnstr(str,n) waddchnstr(stdscr,(str),(n))
[1244] Fix | Delete
#define addchstr(str) waddchstr(stdscr,(str))
[1245] Fix | Delete
#define addnstr(str,n) waddnstr(stdscr,(str),(n))
[1246] Fix | Delete
#define addstr(str) waddnstr(stdscr,(str),-1)
[1247] Fix | Delete
#define attr_get(ap,cp,o) wattr_get(stdscr,(ap),(cp),(o))
[1248] Fix | Delete
#define attr_off(a,o) wattr_off(stdscr,(a),(o))
[1249] Fix | Delete
#define attr_on(a,o) wattr_on(stdscr,(a),(o))
[1250] Fix | Delete
#define attr_set(a,c,o) wattr_set(stdscr,(a),(c),(o))
[1251] Fix | Delete
#define attroff(at) wattroff(stdscr,(at))
[1252] Fix | Delete
#define attron(at) wattron(stdscr,(at))
[1253] Fix | Delete
#define attrset(at) wattrset(stdscr,(at))
[1254] Fix | Delete
#define bkgd(ch) wbkgd(stdscr,(ch))
[1255] Fix | Delete
#define bkgdset(ch) wbkgdset(stdscr,(ch))
[1256] Fix | Delete
#define chgat(n,a,c,o) wchgat(stdscr,(n),(a),(c),(o))
[1257] Fix | Delete
#define clear() wclear(stdscr)
[1258] Fix | Delete
#define clrtobot() wclrtobot(stdscr)
[1259] Fix | Delete
#define clrtoeol() wclrtoeol(stdscr)
[1260] Fix | Delete
#define color_set(c,o) wcolor_set(stdscr,(c),(o))
[1261] Fix | Delete
#define delch() wdelch(stdscr)
[1262] Fix | Delete
#define deleteln() winsdelln(stdscr,-1)
[1263] Fix | Delete
#define echochar(c) wechochar(stdscr,(c))
[1264] Fix | Delete
#define erase() werase(stdscr)
[1265] Fix | Delete
#define getch() wgetch(stdscr)
[1266] Fix | Delete
#define getstr(str) wgetstr(stdscr,(str))
[1267] Fix | Delete
#define inch() winch(stdscr)
[1268] Fix | Delete
#define inchnstr(s,n) winchnstr(stdscr,(s),(n))
[1269] Fix | Delete
#define inchstr(s) winchstr(stdscr,(s))
[1270] Fix | Delete
#define innstr(s,n) winnstr(stdscr,(s),(n))
[1271] Fix | Delete
#define insch(c) winsch(stdscr,(c))
[1272] Fix | Delete
#define insdelln(n) winsdelln(stdscr,(n))
[1273] Fix | Delete
#define insertln() winsdelln(stdscr,1)
[1274] Fix | Delete
#define insnstr(s,n) winsnstr(stdscr,(s),(n))
[1275] Fix | Delete
#define insstr(s) winsstr(stdscr,(s))
[1276] Fix | Delete
#define instr(s) winstr(stdscr,(s))
[1277] Fix | Delete
#define move(y,x) wmove(stdscr,(y),(x))
[1278] Fix | Delete
#define refresh() wrefresh(stdscr)
[1279] Fix | Delete
#define scrl(n) wscrl(stdscr,(n))
[1280] Fix | Delete
#define setscrreg(t,b) wsetscrreg(stdscr,(t),(b))
[1281] Fix | Delete
#define standend() wstandend(stdscr)
[1282] Fix | Delete
#define standout() wstandout(stdscr)
[1283] Fix | Delete
#define timeout(delay) wtimeout(stdscr,(delay))
[1284] Fix | Delete
#define wdeleteln(win) winsdelln(win,-1)
[1285] Fix | Delete
#define winsertln(win) winsdelln(win,1)
[1286] Fix | Delete
[1287] Fix | Delete
/*
[1288] Fix | Delete
* mv functions
[1289] Fix | Delete
*/
[1290] Fix | Delete
[1291] Fix | Delete
#define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch)))
[1292] Fix | Delete
#define mvwaddchnstr(win,y,x,str,n) (wmove((win),(y),(x)) == ERR ? ERR : waddchnstr((win),(str),(n)))
[1293] Fix | Delete
#define mvwaddchstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddchnstr((win),(str),-1))
[1294] Fix | Delete
#define mvwaddnstr(win,y,x,str,n) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),(n)))
[1295] Fix | Delete
#define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1))
[1296] Fix | Delete
#define mvwchgat(win,y,x,n,a,c,o) (wmove((win),(y),(x)) == ERR ? ERR : wchgat((win),(n),(a),(c),(o)))
[1297] Fix | Delete
#define mvwdelch(win,y,x) (wmove((win),(y),(x)) == ERR ? ERR : wdelch(win))
[1298] Fix | Delete
#define mvwgetch(win,y,x) (wmove((win),(y),(x)) == ERR ? ERR : wgetch(win))
[1299] Fix | Delete
#define mvwgetnstr(win,y,x,str,n) (wmove((win),(y),(x)) == ERR ? ERR : wgetnstr((win),(str),(n)))
[1300] Fix | Delete
#define mvwgetstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : wgetstr((win),(str)))
[1301] Fix | Delete
#define mvwhline(win,y,x,c,n) (wmove((win),(y),(x)) == ERR ? ERR : whline((win),(c),(n)))
[1302] Fix | Delete
#define mvwinch(win,y,x) (wmove((win),(y),(x)) == ERR ? NCURSES_CAST(chtype, ERR) : winch(win))
[1303] Fix | Delete
#define mvwinchnstr(win,y,x,s,n) (wmove((win),(y),(x)) == ERR ? ERR : winchnstr((win),(s),(n)))
[1304] Fix | Delete
#define mvwinchstr(win,y,x,s) (wmove((win),(y),(x)) == ERR ? ERR : winchstr((win),(s)))
[1305] Fix | Delete
#define mvwinnstr(win,y,x,s,n) (wmove((win),(y),(x)) == ERR ? ERR : winnstr((win),(s),(n)))
[1306] Fix | Delete
#define mvwinsch(win,y,x,c) (wmove((win),(y),(x)) == ERR ? ERR : winsch((win),(c)))
[1307] Fix | Delete
#define mvwinsnstr(win,y,x,s,n) (wmove((win),(y),(x)) == ERR ? ERR : winsnstr((win),(s),(n)))
[1308] Fix | Delete
#define mvwinsstr(win,y,x,s) (wmove((win),(y),(x)) == ERR ? ERR : winsstr((win),(s)))
[1309] Fix | Delete
#define mvwinstr(win,y,x,s) (wmove((win),(y),(x)) == ERR ? ERR : winstr((win),(s)))
[1310] Fix | Delete
#define mvwvline(win,y,x,c,n) (wmove((win),(y),(x)) == ERR ? ERR : wvline((win),(c),(n)))
[1311] Fix | Delete
[1312] Fix | Delete
#define mvaddch(y,x,ch) mvwaddch(stdscr,(y),(x),(ch))
[1313] Fix | Delete
#define mvaddchnstr(y,x,str,n) mvwaddchnstr(stdscr,(y),(x),(str),(n))
[1314] Fix | Delete
#define mvaddchstr(y,x,str) mvwaddchstr(stdscr,(y),(x),(str))
[1315] Fix | Delete
#define mvaddnstr(y,x,str,n) mvwaddnstr(stdscr,(y),(x),(str),(n))
[1316] Fix | Delete
#define mvaddstr(y,x,str) mvwaddstr(stdscr,(y),(x),(str))
[1317] Fix | Delete
#define mvchgat(y,x,n,a,c,o) mvwchgat(stdscr,(y),(x),(n),(a),(c),(o))
[1318] Fix | Delete
#define mvdelch(y,x) mvwdelch(stdscr,(y),(x))
[1319] Fix | Delete
#define mvgetch(y,x) mvwgetch(stdscr,(y),(x))
[1320] Fix | Delete
#define mvgetnstr(y,x,str,n) mvwgetnstr(stdscr,(y),(x),(str),(n))
[1321] Fix | Delete
#define mvgetstr(y,x,str) mvwgetstr(stdscr,(y),(x),(str))
[1322] Fix | Delete
#define mvhline(y,x,c,n) mvwhline(stdscr,(y),(x),(c),(n))
[1323] Fix | Delete
#define mvinch(y,x) mvwinch(stdscr,(y),(x))
[1324] Fix | Delete
#define mvinchnstr(y,x,s,n) mvwinchnstr(stdscr,(y),(x),(s),(n))
[1325] Fix | Delete
#define mvinchstr(y,x,s) mvwinchstr(stdscr,(y),(x),(s))
[1326] Fix | Delete
#define mvinnstr(y,x,s,n) mvwinnstr(stdscr,(y),(x),(s),(n))
[1327] Fix | Delete
#define mvinsch(y,x,c) mvwinsch(stdscr,(y),(x),(c))
[1328] Fix | Delete
#define mvinsnstr(y,x,s,n) mvwinsnstr(stdscr,(y),(x),(s),(n))
[1329] Fix | Delete
#define mvinsstr(y,x,s) mvwinsstr(stdscr,(y),(x),(s))
[1330] Fix | Delete
#define mvinstr(y,x,s) mvwinstr(stdscr,(y),(x),(s))
[1331] Fix | Delete
#define mvvline(y,x,c,n) mvwvline(stdscr,(y),(x),(c),(n))
[1332] Fix | Delete
[1333] Fix | Delete
/*
[1334] Fix | Delete
* Some wide-character functions can be implemented without the extensions.
[1335] Fix | Delete
*/
[1336] Fix | Delete
#if !NCURSES_OPAQUE
[1337] Fix | Delete
#define getbkgd(win) (NCURSES_OK_ADDR(win) ? ((win)->_bkgd) : 0)
[1338] Fix | Delete
#endif /* NCURSES_OPAQUE */
[1339] Fix | Delete
[1340] Fix | Delete
#define slk_attr_off(a,v) ((v) ? ERR : slk_attroff(a))
[1341] Fix | Delete
#define slk_attr_on(a,v) ((v) ? ERR : slk_attron(a))
[1342] Fix | Delete
[1343] Fix | Delete
#if !NCURSES_OPAQUE
[1344] Fix | Delete
#if NCURSES_WATTR_MACROS
[1345] Fix | Delete
#if NCURSES_WIDECHAR && 1
[1346] Fix | Delete
#define wattr_set(win,a,p,opts) \
[1347] Fix | Delete
(NCURSES_OK_ADDR(win) \
[1348] Fix | Delete
? ((void)((win)->_attrs = ((a) & ~A_COLOR), \
[1349] Fix | Delete
(win)->_color = (opts) ? *(int *)(opts) : (p)), \
[1350] Fix | Delete
OK) \
[1351] Fix | Delete
: ERR)
[1352] Fix | Delete
#define wattr_get(win,a,p,opts) \
[1353] Fix | Delete
(NCURSES_OK_ADDR(win) \
[1354] Fix | Delete
? ((void)(NCURSES_OK_ADDR(a) \
[1355] Fix | Delete
? (*(a) = (win)->_attrs) \
[1356] Fix | Delete
: OK), \
[1357] Fix | Delete
(void)(NCURSES_OK_ADDR(p) \
[1358] Fix | Delete
? (*(p) = (NCURSES_PAIRS_T) (win)->_color) \
[1359] Fix | Delete
: OK), \
[1360] Fix | Delete
(void)(NCURSES_OK_ADDR(opts) \
[1361] Fix | Delete
? (*(int *)(opts) = (win)->_color) \
[1362] Fix | Delete
: OK), \
[1363] Fix | Delete
OK) \
[1364] Fix | Delete
: ERR)
[1365] Fix | Delete
#else /* !(NCURSES_WIDECHAR && NCURSES_EXE_COLORS) */
[1366] Fix | Delete
#define wattr_set(win,a,p,opts) \
[1367] Fix | Delete
(NCURSES_OK_ADDR(win) \
[1368] Fix | Delete
? ((void)((win)->_attrs = (((a) & ~A_COLOR) | \
[1369] Fix | Delete
(attr_t)COLOR_PAIR(p))), \
[1370] Fix | Delete
OK) \
[1371] Fix | Delete
: ERR)
[1372] Fix | Delete
#define wattr_get(win,a,p,opts) \
[1373] Fix | Delete
(NCURSES_OK_ADDR(win) \
[1374] Fix | Delete
? ((void)(NCURSES_OK_ADDR(a) \
[1375] Fix | Delete
? (*(a) = (win)->_attrs) \
[1376] Fix | Delete
: OK), \
[1377] Fix | Delete
(void)(NCURSES_OK_ADDR(p) \
[1378] Fix | Delete
? (*(p) = (NCURSES_PAIRS_T) PAIR_NUMBER((win)->_attrs)) \
[1379] Fix | Delete
: OK), \
[1380] Fix | Delete
OK) \
[1381] Fix | Delete
: ERR)
[1382] Fix | Delete
#endif /* (NCURSES_WIDECHAR && NCURSES_EXE_COLORS) */
[1383] Fix | Delete
#endif /* NCURSES_WATTR_MACROS */
[1384] Fix | Delete
#endif /* NCURSES_OPAQUE */
[1385] Fix | Delete
[1386] Fix | Delete
/*
[1387] Fix | Delete
* X/Open curses deprecates SVr4 vwprintw/vwscanw, which are supposed to use
[1388] Fix | Delete
* varargs.h. It adds new calls vw_printw/vw_scanw, which are supposed to
[1389] Fix | Delete
* use POSIX stdarg.h. The ncurses versions of vwprintw/vwscanw already
[1390] Fix | Delete
* use stdarg.h, so...
[1391] Fix | Delete
*/
[1392] Fix | Delete
#define vw_printw vwprintw
[1393] Fix | Delete
#define vw_scanw vwscanw
[1394] Fix | Delete
[1395] Fix | Delete
/*
[1396] Fix | Delete
* Export fallback function for use in C++ binding.
[1397] Fix | Delete
*/
[1398] Fix | Delete
#if !1
[1399] Fix | Delete
#define vsscanf(a,b,c) _nc_vsscanf(a,b,c)
[1400] Fix | Delete
NCURSES_EXPORT(int) vsscanf(const char *, const char *, va_list);
[1401] Fix | Delete
#endif
[1402] Fix | Delete
[1403] Fix | Delete
/*
[1404] Fix | Delete
* These macros are extensions - not in X/Open Curses.
[1405] Fix | Delete
*/
[1406] Fix | Delete
#if 1
[1407] Fix | Delete
#if !NCURSES_OPAQUE
[1408] Fix | Delete
#define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE)
[1409] Fix | Delete
#define is_idcok(win) (NCURSES_OK_ADDR(win) ? (win)->_idcok : FALSE)
[1410] Fix | Delete
#define is_idlok(win) (NCURSES_OK_ADDR(win) ? (win)->_idlok : FALSE)
[1411] Fix | Delete
#define is_immedok(win) (NCURSES_OK_ADDR(win) ? (win)->_immed : FALSE)
[1412] Fix | Delete
#define is_keypad(win) (NCURSES_OK_ADDR(win) ? (win)->_use_keypad : FALSE)
[1413] Fix | Delete
#define is_leaveok(win) (NCURSES_OK_ADDR(win) ? (win)->_leaveok : FALSE)
[1414] Fix | Delete
#define is_nodelay(win) (NCURSES_OK_ADDR(win) ? ((win)->_delay == 0) : FALSE)
[1415] Fix | Delete
#define is_notimeout(win) (NCURSES_OK_ADDR(win) ? (win)->_notimeout : FALSE)
[1416] Fix | Delete
#define is_pad(win) (NCURSES_OK_ADDR(win) ? ((win)->_flags & _ISPAD) != 0 : FALSE)
[1417] Fix | Delete
#define is_scrollok(win) (NCURSES_OK_ADDR(win) ? (win)->_scroll : FALSE)
[1418] Fix | Delete
#define is_subwin(win) (NCURSES_OK_ADDR(win) ? ((win)->_flags & _SUBWIN) != 0 : FALSE)
[1419] Fix | Delete
#define is_syncok(win) (NCURSES_OK_ADDR(win) ? (win)->_sync : FALSE)
[1420] Fix | Delete
#define wgetdelay(win) (NCURSES_OK_ADDR(win) ? (win)->_delay : 0)
[1421] Fix | Delete
#define wgetparent(win) (NCURSES_OK_ADDR(win) ? (win)->_parent : 0)
[1422] Fix | Delete
#define wgetscrreg(win,t,b) (NCURSES_OK_ADDR(win) ? (*(t) = (win)->_regtop, *(b) = (win)->_regbottom, OK) : ERR)
[1423] Fix | Delete
#endif
[1424] Fix | Delete
#endif
[1425] Fix | Delete
[1426] Fix | Delete
#endif /* NCURSES_NOMACROS */
[1427] Fix | Delete
[1428] Fix | Delete
/*
[1429] Fix | Delete
* Public variables.
[1430] Fix | Delete
*
[1431] Fix | Delete
* Notes:
[1432] Fix | Delete
* a. ESCDELAY was an undocumented feature under AIX curses.
[1433] Fix | Delete
* It gives the ESC expire time in milliseconds.
[1434] Fix | Delete
* b. ttytype is needed for backward compatibility
[1435] Fix | Delete
*/
[1436] Fix | Delete
#if NCURSES_REENTRANT
[1437] Fix | Delete
[1438] Fix | Delete
NCURSES_WRAPPED_VAR(WINDOW *, curscr);
[1439] Fix | Delete
NCURSES_WRAPPED_VAR(WINDOW *, newscr);
[1440] Fix | Delete
NCURSES_WRAPPED_VAR(WINDOW *, stdscr);
[1441] Fix | Delete
NCURSES_WRAPPED_VAR(char *, ttytype);
[1442] Fix | Delete
NCURSES_WRAPPED_VAR(int, COLORS);
[1443] Fix | Delete
NCURSES_WRAPPED_VAR(int, COLOR_PAIRS);
[1444] Fix | Delete
NCURSES_WRAPPED_VAR(int, COLS);
[1445] Fix | Delete
NCURSES_WRAPPED_VAR(int, ESCDELAY);
[1446] Fix | Delete
NCURSES_WRAPPED_VAR(int, LINES);
[1447] Fix | Delete
NCURSES_WRAPPED_VAR(int, TABSIZE);
[1448] Fix | Delete
[1449] Fix | Delete
#define curscr NCURSES_PUBLIC_VAR(curscr())
[1450] Fix | Delete
#define newscr NCURSES_PUBLIC_VAR(newscr())
[1451] Fix | Delete
#define stdscr NCURSES_PUBLIC_VAR(stdscr())
[1452] Fix | Delete
#define ttytype NCURSES_PUBLIC_VAR(ttytype())
[1453] Fix | Delete
#define COLORS NCURSES_PUBLIC_VAR(COLORS())
[1454] Fix | Delete
#define COLOR_PAIRS NCURSES_PUBLIC_VAR(COLOR_PAIRS())
[1455] Fix | Delete
#define COLS NCURSES_PUBLIC_VAR(COLS())
[1456] Fix | Delete
#define ESCDELAY NCURSES_PUBLIC_VAR(ESCDELAY())
[1457] Fix | Delete
#define LINES NCURSES_PUBLIC_VAR(LINES())
[1458] Fix | Delete
#define TABSIZE NCURSES_PUBLIC_VAR(TABSIZE())
[1459] Fix | Delete
[1460] Fix | Delete
#else
[1461] Fix | Delete
[1462] Fix | Delete
extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
[1463] Fix | Delete
extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
[1464] Fix | Delete
extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
[1465] Fix | Delete
extern NCURSES_EXPORT_VAR(char) ttytype[];
[1466] Fix | Delete
extern NCURSES_EXPORT_VAR(int) COLORS;
[1467] Fix | Delete
extern NCURSES_EXPORT_VAR(int) COLOR_PAIRS;
[1468] Fix | Delete
extern NCURSES_EXPORT_VAR(int) COLS;
[1469] Fix | Delete
extern NCURSES_EXPORT_VAR(int) ESCDELAY;
[1470] Fix | Delete
extern NCURSES_EXPORT_VAR(int) LINES;
[1471] Fix | Delete
extern NCURSES_EXPORT_VAR(int) TABSIZE;
[1472] Fix | Delete
[1473] Fix | Delete
#endif
[1474] Fix | Delete
[1475] Fix | Delete
/*
[1476] Fix | Delete
* Pseudo-character tokens outside ASCII range. The curses wgetch() function
[1477] Fix | Delete
* will return any given one of these only if the corresponding k- capability
[1478] Fix | Delete
* is defined in your terminal's terminfo entry.
[1479] Fix | Delete
*
[1480] Fix | Delete
* Some keys (KEY_A1, etc) are arranged like this:
[1481] Fix | Delete
* a1 up a3
[1482] Fix | Delete
* left b2 right
[1483] Fix | Delete
* c1 down c3
[1484] Fix | Delete
*
[1485] Fix | Delete
* A few key codes do not depend upon the terminfo entry.
[1486] Fix | Delete
*/
[1487] Fix | Delete
#define KEY_CODE_YES 0400 /* A wchar_t contains a key code */
[1488] Fix | Delete
#define KEY_MIN 0401 /* Minimum curses key */
[1489] Fix | Delete
#define KEY_BREAK 0401 /* Break key (unreliable) */
[1490] Fix | Delete
#define KEY_SRESET 0530 /* Soft (partial) reset (unreliable) */
[1491] Fix | Delete
#define KEY_RESET 0531 /* Reset or hard reset (unreliable) */
[1492] Fix | Delete
/*
[1493] Fix | Delete
* These definitions were generated by ./MKkey_defs.sh ./Caps
[1494] Fix | Delete
*/
[1495] Fix | Delete
#define KEY_DOWN 0402 /* down-arrow key */
[1496] Fix | Delete
#define KEY_UP 0403 /* up-arrow key */
[1497] Fix | Delete
#define KEY_LEFT 0404 /* left-arrow key */
[1498] Fix | Delete
#define KEY_RIGHT 0405 /* right-arrow key */
[1499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function