csi: implement reverse video

This commit is contained in:
Daniel Eklöf 2019-07-05 20:12:40 +02:00
parent c76e620d71
commit b26e03fced
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 18 additions and 8 deletions

6
csi.c
View file

@ -577,7 +577,8 @@ csi_dispatch(struct terminal *term, uint8_t final)
break;
case 5:
LOG_WARN("unimplemented: flash");
term->reverse = true;
term_damage_all(term);
break;
case 7:
@ -655,7 +656,8 @@ csi_dispatch(struct terminal *term, uint8_t final)
break;
case 5:
LOG_WARN("unimplemented: flash");
term->reverse = false;
term_damage_all(term);
break;
case 7: