… | |
… | |
1497 | case ERASE: |
1497 | case ERASE: |
1498 | screen.cur.col += count; /* don't worry if > ncol */ |
1498 | screen.cur.col += count; /* don't worry if > ncol */ |
1499 | selection_check (1); |
1499 | selection_check (1); |
1500 | screen.cur.col -= count; |
1500 | screen.cur.col -= count; |
1501 | |
1501 | |
1502 | line->l = max (line->l - count, 0); |
|
|
1503 | scr_blank_line (*line, screen.cur.col, count, rstyle); |
1502 | scr_blank_line (*line, screen.cur.col, count, rstyle); |
1504 | break; |
1503 | break; |
1505 | |
1504 | |
1506 | case DELETE: |
1505 | case DELETE: |
1507 | tr = line->r[ncol - 1] & (RS_fgMask | RS_bgMask | RS_baseattrMask); |
1506 | tr = line->r[ncol - 1] & (RS_fgMask | RS_bgMask | RS_baseattrMask); |