void killline() /**/ { int i = 0; if (mult < 0) { mult = -mult; backwardkillline(); return; } while (mult--) { if (line[cs] == '\n') cs++,i++; while (cs != ll && line[cs] != '\n') cs++,i++; } backkill(i,0); }
int killline(char **args) { int i = 0, n = zmult; if (n < 0) { int ret; zmult = -n; ret = backwardkillline(args); zmult = n; return ret; } while (n--) { if (zleline[zlecs] == ZWC('\n')) zlecs++, i++; else while (zlecs != zlell && zleline[zlecs] != ZWC('\n')) zlecs++, i++; } backkill(i, CUT_RAW); clearlist = 1; return 0; }