DL—Delete Line

This control function deletes one or more lines in the scrolling region, starting with the line that has the cursor.

Format

CSI
9/11
Pn
3/n
M
4/13

Parameters

Pn
is the number of lines to delete.
Default: Pn = 1.

Description

As lines are deleted, lines below the cursor and in the scrolling region move up. The terminal adds blank lines with no visual character attributes at the bottom of the scrolling region. If Pn is greater than the number of lines remaining on the page, DL deletes only the remaining lines. DL has no effect outside the scrolling margins.