XImage *result = NULL;
# ifdef HAVE_AFTERIMAGE
- target->init_asv ();
-
if (original_asim
|| (background_flags & transpTransformations) != (flags & transpTransformations))
{
+ target->init_asv ();
+
ASImage *background = NULL;
ARGB32 as_tint = TINT_LEAVE_SAME;
if (background_flags)
line->touch ();
line->is_longer (0);
+ // nuke wide char at beginning
+ if (line->t[screen.cur.col] == NOCHAR)
+ scr_kill_char (*line, screen.cur.col);
+
switch (insdel)
{
case INSERT:
line->l = min (line->l + count, ncol);
+ if (line->t[screen.cur.col] == NOCHAR)
+ scr_kill_char (*line, screen.cur.col);
+
for (int col = ncol - 1; (col - count) >= screen.cur.col; col--)
{
line->t[col] = line->t[col - count];
selection_check (1);
screen.cur.col -= count;
+ // nuke wide char after the end
+ if (screen.cur.col + count < ncol && line->t[screen.cur.col + count] == NOCHAR)
+ scr_kill_char (*line, screen.cur.col + count);
+
scr_blank_line (*line, screen.cur.col, count, rstyle);
break;