csi: implement force cursor position

This commit is contained in:
Daniel Eklöf 2019-11-05 11:10:19 +01:00
parent 15b12f45c6
commit bf58b9ea8e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

1
csi.c
View file

@ -363,6 +363,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
break;
}
case 'f':
case 'H': {
/* Move cursor */
int row = min(vt_param_get(term, 0, 1), term->rows);