From 0d629d6af62fee4ddd16557a61f7645d2aa200c0 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 4 Nov 2008 15:09:51 +0000 Subject: [PATCH] *** empty log message *** --- Changes | 4 +++- src/screen.C | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Changes b/Changes index 9fa7495d..561bfda1 100644 --- 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. diff --git a/src/screen.C b/src/screen.C index 6716e413..8d000756 100644 --- a/src/screen.C +++ b/src/screen.C @@ -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; } -- 2.34.1