Skip to content

Fix rendering of U+2590 and U+2595

Matan Ziv-Av requested to merge matan/konsole:fix-block-chars into master

This MR fixes drawing of two block characters. The current code uses QRect::MoveLeft, which is the wrong operation. It moves the rect, while keeping its size. We really want QRect:setX, which moves the left edge of the rect, while keeping it within the correct character cell.

This bug is nearly invisible when clipping is used, but becomes apparent when changing the character drawing method.

Merge request reports