Skip to content

Commit

Permalink
fix DECRQCRA Rectangular Checksum attribute handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mined committed Aug 3, 2023
1 parent ac3f255 commit f61f9d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/termout.c
Original file line number Diff line number Diff line change
Expand Up @@ -646,11 +646,11 @@ sum_rect(short y0, short x0, short y1, short x1)
cattrflags attr = line->chars[x].attr.attr;
if (attr & ATTR_UNDER)
sum += 0x10;
else if (attr & ATTR_REVERSE)
if (attr & ATTR_REVERSE)
sum += 0x20;
else if (attr & ATTR_BLINK)
if (attr & ATTR_BLINK)
sum += 0x40;
else if (attr & ATTR_BOLD)
if (attr & ATTR_BOLD)
sum += 0x80;
int xc = x;
while (line->chars[xc].cc_next) {
Expand Down
1 change: 1 addition & 0 deletions wiki/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Terminal features
* Fix setup of initial status line if monitor DPI is 96.
* ESC/Enter restore alphanumeric keyboard input mode while IME is active (#1223).
* OSC 50 query response is "?" after font setting failed.
* Fix DECRQCRA Rectangular Checksum attribute handling.

Window handling
* Revamp window operations, esp max/fullscreen, to not raise to foreground.
Expand Down

0 comments on commit f61f9d5

Please sign in to comment.