[Konsole-devel] Review Request: protect control characters from deletion

Alexander Sulfrian alexander at sulfrian.net
Mon Jun 25 12:40:56 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105325/
-----------------------------------------------------------

(Updated June 25, 2012, 12:40 p.m.)


Review request for Konsole.


Changes
-------

Rebased patch to current master. (Updated the attached single patches, too.)


Description
-------

This review contains three patches. I do not know how to submit them as separate
patches for one review. I attached the single patches as files to the review.

- protect control characters from deletion

  If you remove characters from a line (replace with space) and first
  character, that should be removed, is the first character with a new
  color, do not remove the color but replace the character.

- save color on change

  If the colors change, you need to save it in the next character to be
  able to complete the line with the correct colors.

- keep color for additional character at line end

  If the current line contains less characters than the width of the
  current window, default chars were used to draw the additional
  characters. This results in transparent (missing) line endings in some
  ncurses applications, that draw lines using the background of space
  characters. This keeps the color of the last character to draw the
  missing chars.


This addresses bug 278991.
    http://bugs.kde.org/show_bug.cgi?id=278991


Diffs (updated)
-----

  src/Character.h cd4e230 
  src/Screen.cpp cc29cf6 

Diff: http://git.reviewboard.kde.org/r/105325/diff/


Testing
-------


Thanks,

Alexander Sulfrian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20120625/234a108f/attachment.html>


More information about the konsole-devel mailing list