*** empty log message ***
authorroot <root>
Tue, 4 Nov 2008 15:09:51 +0000 (15:09 +0000)
committerroot <root>
Tue, 4 Nov 2008 15:09:51 +0000 (15:09 +0000)
Changes
src/screen.C

diff --git a/Changes b/Changes
index 9fa7495d40fff979c72df9b6f703b3dc7e90efc2..561bfda1be48986cfef9dc1a63eb44a7b06f6355 100644 (file)
--- a/Changes
+++ b/Changes
@@ -23,7 +23,6 @@ TODO:   /*TODO: the xlceararea/xfillrectangle below don't take scroll offste int
 
 TODO: investgate wm resize race: while sleep 0.001; do printf "\033[?30l";sleep 0.001;printf "\033[?30h";done
 TODO: investigate miroslav patches
-TODO: artificially enlargen wide characters at end to correctly cut&paste.
 TODO: cursor over overlays, when focus change?
        - the aterm code now frees the as visual and image manager objects
           when a window was closed.
@@ -31,6 +30,9 @@ TODO: cursor over overlays, when focus change?
           scr_insdel_chars/ERASE (Miroslav Lichvar).
         - fix an issue where wide tab characters caused character shifts
           when part of them was deleted (tracked down by Miroslav Lichvar).
+        - artificially enlargen the previous character at the end of a line
+          when trying to output a character that doesn't fit. looks ugly, but
+          makes copy&paste work.
        - remove bogus "setuid/setgid security issues" from rxvt.1.pod, they
           no longer apply.
         - the urgency hint is now cleared on both focus in and focus out.
index 6716e41313cebd9a7d53ac350b6eb73fbe5b73cc..8d0007565a163547ae8e071ca1fa19f48504951c 100644 (file)
@@ -908,8 +908,8 @@ rxvt_term::scr_add_lines (const wchar_t *str, int len, int minlines) NOTHROW
           // if the character doesn't fit into the remaining columns...
           if (expect_false (screen.cur.col > ncol - width && ncol >= width))
             {
-              // ...output spaces
-              c = ' ';
+              // ... artificially enlargen the previous one
+              c = NOCHAR;
               // and try the same character next loop iteration
               --str;
             }