Keywords: lpg

Next: 8.6.4 Boxes and Lines Up: 8.6 Output Previous: 8.6.2 Insert Characters/Lines

## 8.6.3 Delete Characters/Lines

- `int delch()`
  `int wdelch(win)`
  `int mvdelch(y, x)`
  `int mvwdelch(win, y, x)`
  Delete the character under the cursor and move the remaining characters to the right of the cursor one position to the left.

  `y` and `x` are the coordinates to which the cursor will be moved to before deleting.

- `int deleteln()`
  `int wdeleteln(win)`
  Delete the line under the cursor and move all other lines below one position up. Additionally, the bottom line of the window will be erased.