Failed to call set_erase_char() after processing SCO colour sequences.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 8 Oct 2005 09:09:50 +0000 (09:09 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 8 Oct 2005 09:09:50 +0000 (09:09 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@6379 cda61777-01e9-0310-a592-d414129be87e

terminal.c

index 928f6ed..ad9acc7 100644 (file)
@@ -3899,6 +3899,7 @@ static void term_out(Terminal *term)
                            term->curr_attr |= colour;
                            term->default_attr &= ~ATTR_FGMASK;
                            term->default_attr |= colour;
+                           set_erase_char(term);
                        }
                        break;
                      case ANSI('G', '='):      /* set normal background */
@@ -3912,6 +3913,7 @@ static void term_out(Terminal *term)
                            term->curr_attr |= colour;
                            term->default_attr &= ~ATTR_BGMASK;
                            term->default_attr |= colour;
+                           set_erase_char(term);
                        }
                        break;
                      case ANSI('L', '='):