render: reverse video only swaps *default* fg/bg

This matches XTerm behavior, and fixes vttest 11.6.6.2:

Test non-VT100 ->
Test ISO-6429 colors ->
Test of VT102-style features with BCE ->
Test of screen features
This commit is contained in:
Daniel Eklöf 2021-06-07 21:46:46 +02:00
parent 95c4a8ccfb
commit 39560a6ff1
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 7 additions and 4 deletions

View file

@ -98,6 +98,9 @@
* `scrollback-*`+`pipe-scrollback` key bindings are now passed through
to the client application when the alt screen is active
(https://codeberg.org/dnkl/foot/issues/573).
* Reverse video (`\E[?5h`) now only swaps the default foreground and
background colors. Cells with explicit foreground and/or background
colors remain unchanged.
### Deprecated