Skip to content

IL — Insert Lines

SequenceCSI <n> L
Bytes0x1B 0x5B <n> 0x4C
MnemonicIL
Otty support

Description

Inserts <n> blank rows at the cursor, scrolling subsequent rows down within the active region. Rows scrolled past the bottom of the region are lost (they do not enter scrollback).

Default <n> = 1. Only effective inside the scrolling region (set by DECSTBM).

Example

bash
printf '\e[5;1H'        # row 5, col 1
printf '\e[2L'          # insert 2 blank lines; rows 5..bot shift down 2
  • DL — delete lines (inverse).

Otty