Terminal Guide

DEC Select Number of Lines per Screen (DECSNLS)

ESC1B[5B rows *2a |7c
xterm
🔧
rows = 0

DEC Select Number of Lines per Screen.

If rows >= 1 and rows <= 255 resizes the terminal to rows rows.

Modern terminals don't have a fixed height and users generally expect the terminal to keep the size they assigned to the terminal. This control violates that expectation.