csi: CHT: don’t alter the LCF flag

This makes us pass the vttest 11.5.4 (Test non-VT100 -> Test ISO-6429
cursor-movement -> CHT) test.
This commit is contained in:
Daniel Eklöf 2021-06-07 21:18:15 +02:00
parent 9d3351472d
commit 9929a5ce0a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

3
csi.c
View file

@ -1120,7 +1120,10 @@ csi_dispatch(struct terminal *term, uint8_t final)
}
}
xassert(new_col >= term->grid->cursor.point.col);
bool lcf = term->grid->cursor.lcf;
term_cursor_right(term, new_col - term->grid->cursor.point.col);
term->grid->cursor.lcf = lcf;
}
break;
}