csiInsertLinesHandler function
Implementation
void csiInsertLinesHandler(CSI csi, Terminal terminal) {
var count = 1;
if (csi.params.isNotEmpty) {
count = csi.params.first;
}
if (count < 1) {
count = 1;
}
terminal.buffer.insertLines(count);
}