CSI_ARG_OR
*index = CSI_ARG_OR(args[0], -1);
lookup_colour_palette(state, argcount ? CSI_ARG_OR(args[0], -1) : -1, col);
val = CSI_ARG_OR(args[0], 1);
row = CSI_ARG_OR(args[0], 1);
col = CSI_ARG_OR(args[0], 1);
val = CSI_ARG_OR(args[0], 0);
row = CSI_ARG_OR(args[0], 1);
row = CSI_ARG_OR(args[0], 1);
val = CSI_ARG_OR(args[0], 0);
val = CSI_ARG_OR(args[0], 0);
val = CSI_ARG_OR(args[0], 1);
val = CSI_ARG_OR(args[0], 0);
state->scrollregion_top = CSI_ARG_OR(args[0], 1) - 1;
state->scrollregion_left = CSI_ARG_OR(args[0], 1) - 1;